Cleaned up the metaclasses for documents
Refactored and clarified intent and tidied up
This commit is contained in:
parent
9e67941bad
commit
19da228855
9 changed files with 407 additions and 297 deletions
|
|
@ -18,8 +18,8 @@ try:
|
|||
from mongoengine.django.sessions import SessionStore, MongoSession
|
||||
except Exception, err:
|
||||
if PY3:
|
||||
SessionTestsMixin = type #dummy value so no error
|
||||
SessionStore = None #dummy value so no error
|
||||
SessionTestsMixin = type # dummy value so no error
|
||||
SessionStore = None # dummy value so no error
|
||||
else:
|
||||
raise err
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue