Update views that used generic_detail to use generic_form in read_only mode. Remove now obsolete generic_detail template

This commit is contained in:
Roberto Rosario
2015-04-07 02:04:41 -04:00
parent ecfa937068
commit 0209ea6632
5 changed files with 17 additions and 41 deletions

View File

@@ -90,7 +90,7 @@ def role_permissions(request, role_id):
},
]
return render_to_response('appearance/generic_detail.html', {
return render_to_response('appearance/generic_form.html', {
'form': form,
'object': role,
'subtemplates_list': subtemplates_list,