Fixed #22032 -- added documentation for settings.MIGRATION_MODULES

This commit is contained in:
Greg Chapple 2014-02-22 17:43:03 +00:00 committed by Baptiste Mispelon
parent 2798e63fa1
commit ede99f0ec3
2 changed files with 22 additions and 0 deletions

View file

@ -1539,6 +1539,24 @@ Default::
A tuple of middleware classes to use. See :doc:`/topics/http/middleware`.
.. setting:: MIGRATION_MODULES
MIGRATION_MODULES
-----------------
Default::
{} # empty dictionary
A dictionary specifying the package where migration modules can be found on a per-app basis. The default value
of this setting is an empty dictionary, but the default package name for migration modules is ``migrations``.
Example::
{'blog': 'blog.db_migrations'}
In this case, migrations pertaining to the ``blog`` app will be contained in the ``blog.db_migrations`` package.
.. setting:: MONTH_DAY_FORMAT
MONTH_DAY_FORMAT