From 3ef8e2ea29774309b9987e3a8033f112d313aa7f Mon Sep 17 00:00:00 2001 From: Sesostris Vieira Date: Tue, 22 Mar 2016 17:26:34 -0300 Subject: [PATCH] Define urls de login para evitar erro 404 --- sigi/settings/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sigi/settings/base.py b/sigi/settings/base.py index c50c041..a2e49ef 100644 --- a/sigi/settings/base.py +++ b/sigi/settings/base.py @@ -127,6 +127,9 @@ MEDIA_URL = '/media/' SESSION_EXPIRE_AT_BROWSER_CLOSE = True +LOGIN_REDIRECT_URL = '/' +LOGIN_URL = '/login/' + # Using pytest directly (without a test runner) TEST_RUNNER = None