summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-24 17:05:12 -0500
committerDan McGee <dan@archlinux.org>2010-06-24 17:08:00 -0500
commite361a1e8731ce08f7a632b3914e7a0454191e01d (patch)
tree34214df7ba8e7fa9a2065070a09ddda757ec5a80 /main
parent081ed6c8661bbec81cdbb9029e4832b34805f37b (diff)
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 'main')
-rw-r--r--main/migrations/0016_always_fill_pkgbase.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/migrations/0016_always_fill_pkgbase.py b/main/migrations/0016_always_fill_pkgbase.py
index 154122fe..8f556593 100644
--- a/main/migrations/0016_always_fill_pkgbase.py
+++ b/main/migrations/0016_always_fill_pkgbase.py
@@ -6,8 +6,6 @@ from django.db import models
class Migration(DataMigration):
- no_dry_run = True
-
def forwards(self, orm):
orm.Package.objects.filter(pkgbase=None).update(pkgbase=models.F('pkgname'))