Maik Hoepfel
3e955df30e
fork_app now copies both migrations directories
I think the Oscar upgrade/forking process for forked apps will get
simpler with the new migrations. One probably will be able to just fake
an initial migration, or something like that. But for now, copying
them across as we did before should be a safe bet.
11 years ago
Maik Hoepfel
7432cf2914
Skip South migration tests in Django 1.7
South isn't supported in Django 1.7 and upwards, so we can only skip
them.
11 years ago
Maik Hoepfel
f7e8a431b7
Python 3 fix for filter()
I presume filter returns an iterator in Python 3.
11 years ago
Maik Hoepfel
f9b2f8cd60
Add unit test for duplicate migration numbers
Duplicate migration numbers can happen when merging changes from
different branches. This test ensures that we address the issue right
away.
11 years ago
Maik Hoepfel
ca847aea1d
Add test for hardcoded user model in migrations
New migrations need to be manually updated to correctly deal with custom
user models. This test fails if this isn't done.
11 years ago