diff options
| author | Greg Chapple <gregchapple1@gmail.com> | 2014-02-22 17:43:03 +0000 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-02-22 20:14:41 +0100 |
| commit | ede99f0ec3a14e3ba218b53c51d4295dbef77e3e (patch) | |
| tree | 58e87c3866d7518b13651829fb80c21371b0b1ba /docs/ref | |
| parent | 2798e63fa1fe1466ea4baf4058622f7bbe014033 (diff) | |
Fixed #22032 -- added documentation for settings.MIGRATION_MODULES
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/settings.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 4e3e033b68..1b70c4db8a 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -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 |
