diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-29 22:16:39 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-29 22:16:39 +0200 |
commit | 7def999b0aa3511671049826741ee3ebb6ce9573 (patch) | |
tree | 66cb8c4e7f43ca049f6587840684b8d5e4b76ef2 /news | |
parent | bc5a5781bf43f81ab266bf258d4ab8bf16c9b2d0 (diff) | |
download | archweb-7def999b0aa3511671049826741ee3ebb6ce9573.tar.gz archweb-7def999b0aa3511671049826741ee3ebb6ce9573.tar.xz |
Fix migration dependencies exposed after moving models
When we moved some models from one app to another, we didn't do anything to
ensure the tables were created at all initially. Enforce this by adding the
minimal required dependencies- those migrations in the 'main' model that
last touched the involved models moving between apps.
Noticed-by: Angel Velasquez <angvp@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'news')
-rw-r--r-- | news/migrations/0002_move_news_in.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/news/migrations/0002_move_news_in.py b/news/migrations/0002_move_news_in.py index 617e4b6..d6dafad 100644 --- a/news/migrations/0002_move_news_in.py +++ b/news/migrations/0002_move_news_in.py @@ -6,6 +6,10 @@ from django.db import models class Migration(SchemaMigration): + depends_on = ( + ('main', '0001_initial'), + ) + def forwards(self, orm): pass |