mirror of
https://github.com/jazzband/django-constance.git
synced 2026-05-21 22:01:54 +00:00
Docs: Fix wrong variable and correct it from 'form' to 'change_list_form'
This commit is contained in:
parent
c9d23c6d39
commit
23b6f3daa6
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ See the :ref:`Backends <backends>` section how to setup the backend and
|
|||
finish the configuration.
|
||||
|
||||
``django-constance``'s hashes generated in different instances of the same
|
||||
application may differ, preventing data from being saved.
|
||||
application may differ, preventing data from being saved.
|
||||
|
||||
Use this option in order to skip hash verification.
|
||||
|
||||
|
|
@ -210,7 +210,7 @@ settings the way you like.
|
|||
#... do stuff to make your settings form nice ...
|
||||
|
||||
class ConfigAdmin(ConstanceAdmin):
|
||||
form = CustomConfigForm
|
||||
change_list_form = CustomConfigForm
|
||||
change_list_template = 'admin/config/settings.html'
|
||||
|
||||
admin.site.unregister([Config])
|
||||
|
|
|
|||
Loading…
Reference in a new issue