Cleaned up surrounding documentation
This commit is contained in:
parent
f45ee19746
commit
2b98034fbb
|
@ -1850,14 +1850,16 @@ Default::
|
||||||
|
|
||||||
{} # empty dictionary
|
{} # empty dictionary
|
||||||
|
|
||||||
A dictionary specifying the package where migration modules can be found on a per-app basis. The default value
|
A dictionary specifying the package where migration modules can be found on a
|
||||||
of this setting is an empty dictionary, but the default package name for migration modules is ``migrations``.
|
per-app basis. The default value of this setting is an empty dictionary, but
|
||||||
|
the default package name for migration modules is ``migrations``.
|
||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
{'blog': 'blog.db_migrations'}
|
{'blog': 'blog.db_migrations'}
|
||||||
|
|
||||||
In this case, migrations pertaining to the ``blog`` app will be contained in the ``blog.db_migrations`` package.
|
In this case, migrations pertaining to the ``blog`` app will be contained in
|
||||||
|
the ``blog.db_migrations`` package.
|
||||||
|
|
||||||
If you provide the ``app_label`` argument, :djadmin:`makemigrations` will
|
If you provide the ``app_label`` argument, :djadmin:`makemigrations` will
|
||||||
automatically create the package if it doesn't already exist.
|
automatically create the package if it doesn't already exist.
|
||||||
|
|
Loading…
Reference in New Issue