Browse Source

Define LOGIN_URL in project settings

tags/v1.0.0
Krzysztof Klimonda 11 years ago
parent
commit
af8c0865e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry/settings/__init__.py

+ 1
- 1
pinry/settings/__init__.py View File

@@ -1,6 +1,5 @@
import os import os


from collections import namedtuple
from django.contrib.messages import constants as messages from django.contrib.messages import constants as messages




@@ -64,6 +63,7 @@ AUTHENTICATION_BACKENDS = (




ROOT_URLCONF = 'pinry.urls' ROOT_URLCONF = 'pinry.urls'
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/' LOGIN_REDIRECT_URL = '/'
INTERNAL_IPS = ['127.0.0.1'] INTERNAL_IPS = ['127.0.0.1']
MESSAGE_TAGS = { MESSAGE_TAGS = {


Loading…
Cancel
Save