Modify ↓
Ticket #37 (closed defect: fixed)
[patch] bug in loading initial data
| Reported by: | anonymous | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | migrations | Version: | 0.6-pre |
| Keywords: | Cc: |
Description
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)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in [89].