Changes between Version 1 and Version 2 of Dependencies
- Timestamp:
- 09/03/08 21:48:13 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dependencies
v1 v2 11 11 12 12 depends_on = ( 13 ("accounts", "0003_user_profile.py") 13 ("accounts", "0003_user_profile.py"), 14 14 ) 15 15 … … 21 21 22 22 Dependencies also work in reverse; South knows not to undo that 0003_user_profile migration until it has undone the 0002_post migration. 23 24 You can have multiple dependencies, and all sorts of wacky structures; there are, however, two rules: 25 26 - No circular dependencies (two or more migrations depending on each other) 27 - No upwards dependencies in the same app (so you can't make 0002_post in the forum app depend on 0003_room in the same app, either directly or through a dependency chain.
