Adding configuration for anonymous user of guardian app

remotes/origin/enhancement/email-actions
Jesús Espino 2013-03-21 22:09:28 +01:00
parent 44cc1f3c57
commit 005029cd1e
1 changed files with 2 additions and 0 deletions

View File

@ -301,6 +301,8 @@ AUTHENTICATION_BACKENDS = (
'guardian.backends.ObjectPermissionBackend',
)
ANONYMOUS_USER_ID = -1
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',