Ticket #37 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

[patch] bug in loading initial data

Reported by: anonymous Owned by: andrew
Priority: major Milestone:
Component: migrations Version: 0.6-pre
Keywords: Cc:


Index: migration.py
--- migration.py	(revision 88)
+++ migration.py	(working copy)
@@ -453,8 +453,8 @@
             # Override Django's get_apps call temporarily to only load from the
             # current app
             old_get_apps, models.get_apps = (
+                models.get_apps,
                 lambda: [app],
-                models.get_apps,
             # Load the initial fixture
             call_command('loaddata', 'initial_data', verbosity=1)

Change History

comment:1 Changed 7 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [89].

Note: See TracTickets for help on using tickets.