django-constance/constance
Martin Pépin be65f6536a Add a get_changelist_form hook in the ModelAdmin
This method is used in the `changelist_view` to get the changelist form.

You may want to override this method to get a different form depending
on the user that makes the request. For example:

  class MyConstanceAdmin(ConstanceAdmin):
      def get_changelist_form(self, request):
          if request.user.is_superuser:
              return SuperuserForm:
          else:
            return super(MyConstanceAdmin, self).get_changelist_form(request)
2017-02-14 02:15:39 +01:00
..
backends Send the config parameter as sender for the signal 2016-09-15 09:24:30 -05:00
locale Updated Chinese translation. 2015-09-24 12:37:35 +02:00
management Removed unnecessary bytes encode. 2017-01-31 18:08:04 +01:00
templates/admin/constance Fix *Reset to default* to work with boolean/checkboxes (#191) 2017-01-13 08:14:18 +01:00
test Merge remote-tracking branch 'chornsby/add-test-utils' 2015-09-24 11:59:55 +02:00
__init__.py Bump version 2016-12-23 17:39:01 -05:00
admin.py Add a get_changelist_form hook in the ModelAdmin 2017-02-14 02:15:39 +01:00
apps.py Fix create_perm in apps.py to use database alias given by the post_migrate signal 2017-02-05 13:27:07 +01:00
base.py allow to override field config_type and set custom additional fields 2015-06-14 17:34:53 +02:00
context_processors.py Please the PEP8 gods. 2013-04-12 17:39:10 +02:00
settings.py Improved coding styles 2016-09-14 12:21:43 -05:00
signals.py Improved naming for arguments 2016-09-15 09:25:54 -05:00
utils.py Merge remote-tracking branch 'vinnyrose/compat_changes' 2015-09-24 11:02:45 +02:00