fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git]
/
wolnelektury
/
settings
/
auth.py
diff --git a/wolnelektury/settings/auth.py
b/wolnelektury/settings/auth.py
new file mode 100644
(file)
index 0000000..
136db06
--- /dev/null
+++ b/
wolnelektury/settings/auth.py
@@ -0,0
+1,8
@@
+AUTHENTICATION_BACKENDS = [
+ 'django.contrib.auth.backends.ModelBackend',
+ 'allauth.account.auth_backends.AuthenticationBackend',
+]
+EMAIL_CONFIRMATION_DAYS = 2
+LOGIN_URL = '/uzytkownik/login/'
+
+LOGIN_REDIRECT_URL = '/'