Rename module.name and descriptor.name to url_name

* update templates and code references
* also a display_name property that defaults to cleaned url_name
This commit is contained in:
Victor Shnayder
2012-08-03 11:36:54 -04:00
parent 2f911fd3b2
commit b46172da9b
11 changed files with 39 additions and 20 deletions

View File

@@ -108,7 +108,7 @@ def edit_item(request):
'contents': item.get_html(),
'js_module': item.js_module_name,
'category': item.category,
'name': item.name,
'url_name': item.url_name,
'previews': get_module_previews(request, item),
})