mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
Adding migration
This commit is contained in:
parent
5fa2f53e13
commit
e694d23ec8
2 changed files with 22 additions and 0 deletions
11
README.rst
11
README.rst
|
|
@ -138,6 +138,17 @@ How to write django-admin2 modules
|
|||
djadmin2.default.register(Comment)
|
||||
djadmin2.default.register(User, UserAdmin2)
|
||||
|
||||
Migrating from 0.5.x
|
||||
====================
|
||||
|
||||
Themes are now defined explicitly, including the default theme. Therefore, your `settings` need to include this:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
# In settings.py
|
||||
INSTALLED_APPS += ('djadmin2.themes.djadmin2theme_default',)
|
||||
ADMIN2_THEME_DIRECTORY = "djadmin2theme_default/"
|
||||
|
||||
|
||||
Drop-In Themes
|
||||
===============
|
||||
|
|
|
|||
|
|
@ -49,3 +49,14 @@ Development Installation
|
|||
=========================
|
||||
|
||||
See :doc:`contributing`.
|
||||
|
||||
Migrating from 0.5.x
|
||||
====================
|
||||
|
||||
Themes are now defined explicitly, including the default theme. Therefore, your `settings` need to include this:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
# In settings.py
|
||||
INSTALLED_APPS += ('djadmin2.themes.djadmin2theme_default',)
|
||||
ADMIN2_THEME_DIRECTORY = "djadmin2theme_default/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue