Ensures default redis keys are lowercase like they were in prior versions of the code.
This commit is contained in:
@@ -103,7 +103,7 @@ class BasicModel(object):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _redis_name(cls):
|
def _redis_name(cls):
|
||||||
return cls.override_type or cls.__name__
|
return cls.override_type or cls.__name__.lower()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def lookup(cls, identifier):
|
def lookup(cls, identifier):
|
||||||
|
|||||||
Reference in New Issue
Block a user