Adding django-guardian

remotes/origin/enhancement/email-actions
Jesús Espino 2013-03-21 20:39:01 +01:00
parent f0cd604539
commit 44cc1f3c57
2 changed files with 6 additions and 0 deletions

View File

@ -210,6 +210,7 @@ INSTALLED_APPS = [
'south',
'haystack',
'reversion',
'guardian',
]
WSGI_APPLICATION = 'greenmine.wsgi.application'
@ -295,6 +296,10 @@ DATE_INPUT_FORMATS = (
'%B %d, %Y', '%d %B %Y', '%d %B, %Y'
)
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend', # default
'guardian.backends.ObjectPermissionBackend',
)
HAYSTACK_CONNECTIONS = {
'default': {

View File

@ -2,6 +2,7 @@ django
django-grappelli
django-tastypie
django-reversion
django-guardian
git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
django-celery
south