Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Update 0022_auto_20181007_1420.py

jonaswinklerbaf89cad8e6c
diff --git a/src/documents/migrations/0022_auto_20181007_1420.py b/src/documents/migrations/0022_auto_20181007_1420.py
index 937695bc8..2853f2093 100644
--- a/src/documents/migrations/0022_auto_20181007_1420.py
+++ b/src/documents/migrations/0022_auto_20181007_1420.py
@@ -11,7 +11,7 @@ def re_slug_all_the_things(apps, schema_editor):
"""
Tag = apps.get_model("documents", "Tag")
- Correspondent = apps.get_model("documents", "Tag")
+ Correspondent = apps.get_model("documents", "Correspondent")
for klass in (Tag, Correspondent):
for instance in klass.objects.all():