fix for the 403 where cookies do not match initial site.site

This commit is contained in:
Julien Rottenberg 2015-11-02 00:21:13 -08:00
parent db2f21726d
commit 265ea36d51
3 changed files with 12 additions and 2 deletions

View file

@ -14,6 +14,6 @@ psycopg2 commented out ?
Missing from template : REDIS_SESSIONS, postgresql_psycopg2
./manage.py syncdb --all --noinput
./manage.py syncdb --all --noinput ./manage.py loaddata docker/data.json
pip numpy , scipy + apt gfortran libblas-dev liblapack-dev for ./manage.py refresh_feeds --force

10
docker/data.json Normal file
View file

@ -0,0 +1,10 @@
[
{
"pk": 1,
"model": "sites.site",
"fields": {
"domain": "docker.newsblur.com",
"name": "DockerNewsBlur"
}
}
]

View file

@ -12,7 +12,7 @@ ADMINS = (
SERVER_EMAIL = 'server@newsblur.com'
HELLO_EMAIL = 'hello@newsblur.com'
NEWSBLUR_URL = 'http://www.newsblur.com'
SESSION_COOKIE_DOMAIN = '.localhost'
SESSION_COOKIE_DOMAIN = '.newsblur.com'
# ===================
# = Global Settings =