diff options
| author | Konrad Świat <konrad.swiat@gmail.com> | 2014-10-30 18:38:47 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-10-31 18:21:54 -0400 |
| commit | 934a16dc93a5f46f965ba299dbd543703d32d493 (patch) | |
| tree | 3d1b84d25f68fc0a26d187fd85d2b099beb15ff1 /docs | |
| parent | e548d08f243335b4f11190417830a5f3027efd2a (diff) | |
Fixed #23468 -- Added checks for duplicate fixtures directories in loaddata.
If settings.FIXTURE_DIRS contains duplicates or a default fixture
directory (app_name/fixtures), ImproperlyConfigured is raised.
Thanks to Berker Peksag and Tim Graham for review.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.8.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index d02672be9a..f84294d459 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -284,6 +284,10 @@ Management Commands * The :djadminopt:`--name` option for :djadmin:`makemigrations` allows you to to give the migration(s) a custom name instead of a generated one. +* The :djadmin:`loaddata` command now prevents repeated fixture loading. If + :setting:`FIXTURE_DIRS` contains duplicates or a default fixture directory + path (``app_name/fixtures``), an exception is raised. + Migrations ^^^^^^^^^^ |
