Changeset - 091ac19f778f
[Not reviewed]
0 2 0
Christopher Neugebauer - 4 years ago 2017-08-18 17:51:21
chrisjrn@gmail.com
Sitetree updates, and make logins take you to the dashboard
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
fixtures/sitetree.json
Show inline comments
...
 
@@ -349,8 +349,8 @@
 
    "fields": {
 
        "title": "Log In",
 
        "hint": "",
 
        "url": "/account/login/",
 
        "urlaspattern": false,
 
        "url": "nbpy_login",
 
        "urlaspattern": true,
 
        "tree": 1,
 
        "hidden": false,
 
        "alias": null,
pinaxcon/settings.py
Show inline comments
...
 
@@ -268,7 +268,7 @@ LOGIN_URL = "nbpy_login"
 
ACCOUNT_OPEN_SIGNUP = bool(int(os.environ.get("DJANGO_ACCOUNT_OPEN_SIGNUP", "0")))
 
ACCOUNT_EMAIL_UNIQUE = True
 
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False if DEBUG else True
 
ACCOUNT_LOGIN_REDIRECT_URL = "home"
 
ACCOUNT_LOGIN_REDIRECT_URL = "dashboard"
 
ACCOUNT_LOGOUT_REDIRECT_URL = "home"
 
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 2
 
ACCOUNT_USE_AUTH_AUTHENTICATE = True
0 comments (0 inline, 0 general)