Adding migration

This commit is contained in:
Daniel Greenfeld 2013-09-18 11:53:32 +02:00
parent 5fa2f53e13
commit e694d23ec8
2 changed files with 22 additions and 0 deletions

View file

@ -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
===============

View file

@ -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/"