Remove CSRF from settings, do in local.
rodzic
b2bbbdee10
commit
bdde0545af
|
@ -32,8 +32,6 @@ ALLOWED_HOSTS = ['*']
|
|||
AUTH_PROFILE_MODULE = 'accounts.UserProfile'
|
||||
AUTHENTICATION_BACKENDS = ('utils.backends.EmailOrUsernameModelBackend',)
|
||||
BASE_PATH = os.path.dirname(__file__)
|
||||
CSRF_COOKIE_DOMAIN = 'snipt.net' if 'USE_SSL' in os.environ else False
|
||||
CSRF_COOKIE_SECURE = True if 'USE_SSL' in os.environ else False
|
||||
DEBUG = True if 'DEBUG' in os.environ else False
|
||||
DEFAULT_FROM_EMAIL = 'support@snipt.net'
|
||||
EMAIL_BACKEND = 'postmark.django_backend.EmailBackend'
|
||||
|
|
Ładowanie…
Reference in New Issue