fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use honeypot only for contact forms (not for api)
[edumed.git]
/
edumed
/
settings
/
auth.py
1
# -*- coding: utf-8 -*-
2
from .apps import INSTALLED_APPS
3
4
if 'django_cas' in INSTALLED_APPS:
5
AUTHENTICATION_BACKENDS = (
6
'django.contrib.auth.backends.ModelBackend',
7
'fnpdjango.auth_backends.AttrCASBackend',
8
)