Fix circular import issue with django auth (#531) (#545)

This commit is contained in:
Ross Lawley
2014-01-24 13:54:16 +00:00
parent 0e5a0661e1
commit bc08bea284
3 changed files with 11 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ settings.configure(
USE_TZ=True,
INSTALLED_APPS=('django.contrib.auth', 'mongoengine.django.mongo_auth'),
AUTH_USER_MODEL=('mongo_auth.MongoUser'),
AUTHENTICATION_BACKENDS = ('mongoengine.django.auth.MongoEngineBackend',)
)
try: