add dependencies for proper migration order

This commit is contained in:
David Ray 2014-01-14 11:06:41 -05:00
parent 8e75bb77fb
commit cca9ad0793
2 changed files with 9 additions and 1 deletions

View file

@ -7,6 +7,10 @@ from django.db import models
class Migration(SchemaMigration):
depends_on = (
("speakers", "0001_initial"),
)
def forwards(self, orm):
# Adding model 'ProposalSection'
db.create_table('proposals_proposalsection', (

View file

@ -7,6 +7,10 @@ from django.db import models
class Migration(SchemaMigration):
depends_on = (
("conference", "0001_initial"),
)
def forwards(self, orm):
# Adding model 'SponsorLevel'
db.create_table('sponsorship_sponsorlevel', (
@ -181,4 +185,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['sponsorship']
complete_apps = ['sponsorship']