diff --git a/mayan/apps/registration/models.py b/mayan/apps/registration/models.py index 5955090100..84f34cc1b4 100644 --- a/mayan/apps/registration/models.py +++ b/mayan/apps/registration/models.py @@ -26,7 +26,7 @@ class RegistrationSingleton(SingletonModel): if cls._registered: return cls._registered else: - instance, created = cls.objects.get_or_create() + instance = cls.objects.get() if instance.is_registered: cls._registered = instance.is_registered return instance.is_registered