Fix cache evaluation
This commit is contained in:
@@ -27,7 +27,7 @@ class RegistrationSingleton(Singleton):
|
||||
|
||||
@classmethod
|
||||
def registration_state(cls):
|
||||
if cls._registered:
|
||||
if cls._registered is not None:
|
||||
return cls._registered
|
||||
else:
|
||||
instance = cls.objects.get()
|
||||
|
||||
Reference in New Issue
Block a user