mirror of
https://github.com/pinry/pinry.git
synced 2026-01-11 01:32:05 +01:00
Define LOGIN_URL in project settings
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import os
|
||||
|
||||
from collections import namedtuple
|
||||
from django.contrib.messages import constants as messages
|
||||
|
||||
|
||||
@@ -64,6 +63,7 @@ AUTHENTICATION_BACKENDS = (
|
||||
|
||||
|
||||
ROOT_URLCONF = 'pinry.urls'
|
||||
LOGIN_URL = '/login/'
|
||||
LOGIN_REDIRECT_URL = '/'
|
||||
INTERNAL_IPS = ['127.0.0.1']
|
||||
MESSAGE_TAGS = {
|
||||
|
||||
Reference in New Issue
Block a user