Separate src dir.
[fnpdjango.git] / src / project_name / settings / auth.py
diff --git a/src/project_name/settings/auth.py b/src/project_name/settings/auth.py
new file mode 100644 (file)
index 0000000..91b062e
--- /dev/null
@@ -0,0 +1,8 @@
+from . import INSTALLED_APPS
+
+
+if 'django_cas' in INSTALLED_APPS:
+    AUTHENTICATION_BACKENDS = (
+        'django.contrib.auth.backends.ModelBackend',
+        'django_cas.backends.CASBackend',
+    )