Adding configuration for anonymous user of guardian app
parent
44cc1f3c57
commit
005029cd1e
|
@ -301,6 +301,8 @@ AUTHENTICATION_BACKENDS = (
|
||||||
'guardian.backends.ObjectPermissionBackend',
|
'guardian.backends.ObjectPermissionBackend',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ANONYMOUS_USER_ID = -1
|
||||||
|
|
||||||
HAYSTACK_CONNECTIONS = {
|
HAYSTACK_CONNECTIONS = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
|
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
|
||||||
|
|
Loading…
Reference in New Issue