From 2b98034fbbd4bf194a5bbb7653d11e51b84f2478 Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Sat, 12 Sep 2015 10:25:13 +1000 Subject: [PATCH] Cleaned up surrounding documentation --- docs/ref/settings.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 631c47698f..56bd61a99d 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1850,14 +1850,16 @@ 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``. +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. +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 automatically create the package if it doesn't already exist.