diff options
author | Dan McGee <dan@archlinux.org> | 2010-06-25 00:05:12 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-25 00:08:00 +0200 |
commit | e361a1e8731ce08f7a632b3914e7a0454191e01d (patch) | |
tree | 34214df7ba8e7fa9a2065070a09ddda757ec5a80 /packages/migrations | |
parent | 081ed6c8661bbec81cdbb9029e4832b34805f37b (diff) | |
download | archweb-e361a1e8731ce08f7a632b3914e7a0454191e01d.tar.gz archweb-e361a1e8731ce08f7a632b3914e7a0454191e01d.tar.xz |
Get unit tests up and running again
We had some dependency issues between migrations that needed to be
explicitly defined in order to get things fully moving, and do to some
braindeadness in Django tests not including the project url config, we need
to do some clever business when using the url tag in the base template so
tests don't doe with a NoReverseMatch exception.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/migrations')
-rw-r--r-- | packages/migrations/0002_populate_package_relation.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/migrations/0002_populate_package_relation.py b/packages/migrations/0002_populate_package_relation.py index 7f90350..738e068 100644 --- a/packages/migrations/0002_populate_package_relation.py +++ b/packages/migrations/0002_populate_package_relation.py @@ -6,7 +6,9 @@ from django.db import models class Migration(DataMigration): - no_dry_run = True + depends_on = ( + ("main", "0003_migrate_maintainer"), + ) def forwards(self, orm): "Write your forwards methods here." |