Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
migrations: Create realm reactivation ContentType if required.
Tim Abbott7661df20a9d7
diff --git a/zerver/migrations/0401_migrate_old_realm_reactivation_links.py b/zerver/migrations/0401_migrate_old_realm_reactivation_links.pyindex 362684bce9e..6add274025d 100644--- a/zerver/migrations/0401_migrate_old_realm_reactivation_links.py+++ b/zerver/migrations/0401_migrate_old_realm_reactivation_links.py@@ -32,7 +32,7 @@ def fix_old_realm_reactivation_confirmations(return# .content_type of these old Confirmation will be changed to this.- realm_reactivation_status_content_type = ContentType.objects.get(+ realm_reactivation_status_content_type, created = ContentType.objects.get_or_create(model="realmreactivationstatus", app_label="zerver")