Fabfile and settings
parent
b12135eb90
commit
f27d79d67a
|
@ -47,6 +47,15 @@ def dep():
|
|||
|
||||
run(_python('manage.py collectstatic --ignore grappelli --ignore admin --noinput'))
|
||||
|
||||
def db():
|
||||
with cd(env.site_path):
|
||||
|
||||
_display_message('Sync DB and migrate')
|
||||
################
|
||||
|
||||
run(_python('manage.py syncdb'))
|
||||
run(_python('manage.py migrate'))
|
||||
|
||||
def re():
|
||||
with cd(env.site_path):
|
||||
|
||||
|
|
|
@ -199,6 +199,9 @@ LOGIN_URL = '/login/'
|
|||
LOGOUT_URL = '/logout/'
|
||||
ACCOUNT_ACTIVATION_DAYS = 0
|
||||
|
||||
# Cookies
|
||||
SESSION_COOKIE_DOMAIN = '.snipt.net'
|
||||
|
||||
# HTTPS
|
||||
if not DEBUG:
|
||||
USE_HTTPS = True
|
||||
|
|
Loading…
Reference in New Issue