summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/migrations/0003_migrate_maintainer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/migrations/0003_migrate_maintainer.py b/main/migrations/0003_migrate_maintainer.py
index 8d759271..8d3e1771 100644
--- a/main/migrations/0003_migrate_maintainer.py
+++ b/main/migrations/0003_migrate_maintainer.py
@@ -8,13 +8,13 @@ class Migration:
no_dry_run = True
def forwards(self, orm):
- Package.objects.filter(maintainer=0).update(maintainer=None)
+ orm.Package.objects.filter(maintainer=0).update(maintainer=None)
def backwards(self, orm):
# This will fail if foreign keys are in effect. Let's hope we'll
# never have to go backwards. :P
- Package.objects.filter(maintainer=None).update(maintainer=0)
+ orm.Package.objects.filter(maintainer=None).update(maintainer=0)
models = {