Adding django-guardian
parent
f0cd604539
commit
44cc1f3c57
|
@ -210,6 +210,7 @@ INSTALLED_APPS = [
|
||||||
'south',
|
'south',
|
||||||
'haystack',
|
'haystack',
|
||||||
'reversion',
|
'reversion',
|
||||||
|
'guardian',
|
||||||
]
|
]
|
||||||
|
|
||||||
WSGI_APPLICATION = 'greenmine.wsgi.application'
|
WSGI_APPLICATION = 'greenmine.wsgi.application'
|
||||||
|
@ -295,6 +296,10 @@ DATE_INPUT_FORMATS = (
|
||||||
'%B %d, %Y', '%d %B %Y', '%d %B, %Y'
|
'%B %d, %Y', '%d %B %Y', '%d %B, %Y'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
AUTHENTICATION_BACKENDS = (
|
||||||
|
'django.contrib.auth.backends.ModelBackend', # default
|
||||||
|
'guardian.backends.ObjectPermissionBackend',
|
||||||
|
)
|
||||||
|
|
||||||
HAYSTACK_CONNECTIONS = {
|
HAYSTACK_CONNECTIONS = {
|
||||||
'default': {
|
'default': {
|
||||||
|
|
|
@ -2,6 +2,7 @@ django
|
||||||
django-grappelli
|
django-grappelli
|
||||||
django-tastypie
|
django-tastypie
|
||||||
django-reversion
|
django-reversion
|
||||||
|
django-guardian
|
||||||
git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
|
git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
|
||||||
django-celery
|
django-celery
|
||||||
south
|
south
|
||||||
|
|
Loading…
Reference in New Issue