Ejemplo n.º 1
0
 def changelist_view(self, request, extra_context=None):
     """
     Show "Edit Settings" page instead of Django's default page for
     showing models in "Settings Manager" app.
     """
     return edit(request, 'setman/admin/edit.html', self.app_label)
Ejemplo n.º 2
0
 def changelist_view(self, request, extra_context=None):
     """
     Show "Edit Settings" page instead of Django's default page for
     showing models in "Settings Manager" app.
     """
     return edit(request, 'setman/admin/edit.html', self.app_label)
Ejemplo n.º 3
0
 def change_view(self, request, object_id, extra_context=None):
     """
     Show "Edit Settings" page instead of Django's default page for
     changing Settings model.
     """
     return edit(request, 'setman/admin/edit.html', self.app_label)
Ejemplo n.º 4
0
 def change_view(self, request, object_id, extra_context=None):
     """
     Show "Edit Settings" page instead of Django's default page for
     changing Settings model.
     """
     return edit(request, 'setman/admin/edit.html', self.app_label)