mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-17 06:30:25 +00:00
Fixed the installation documentation
This commit is contained in:
parent
fff84a6bfe
commit
153137d4eb
2 changed files with 10 additions and 6 deletions
14
README.rst
14
README.rst
|
|
@ -76,12 +76,14 @@ Add djadmin2 and rest_framework to your settings file:
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
INSTALLED_APPS = (
|
||||
...
|
||||
'djadmin2',
|
||||
'rest_framework', # for the browsable API templates
|
||||
...
|
||||
)
|
||||
INSTALLED_APPS = (
|
||||
...
|
||||
'djadmin2',
|
||||
'rest_framework', # for the browsable API templates
|
||||
'floppyforms', # For HTML5 form fields
|
||||
'crispy_forms', # Required for the default theme's layout
|
||||
...
|
||||
)
|
||||
|
||||
Add djadmin2 urls to your URLconf:
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ Add djadmin2 and rest_framework to your settings file:
|
|||
...
|
||||
'djadmin2',
|
||||
'rest_framework', # for the browsable API templates
|
||||
'floppyforms', # For HTML5 form fields
|
||||
'crispy_forms', # Required for the default theme's layout
|
||||
...
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue