Stats updates

This commit is contained in:
nikolark committed 2015-08-10 21:13:16 +02:00
1 parent 616082ed7c
commit d743ad85db
3 files changed
+9 -2

No files matched your search

+5 -1
View File
@@ -37,7 +37,8 @@ INSTALLED_APPS = (
'django.contrib.staticfiles',
'bootstrapform',
'django_extensions'
'django_extensions',
'corsheaders',
)
@@ -47,6 +48,7 @@ INSTALLED_APPS += LOCAL_APPS
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
@@ -122,6 +124,8 @@ INSIDE_API_URL = 'https://inside.studentersamfundet.no/api/'
TEKSTMELDING_API_KEY = ''
TEKSTMELDING_API_URL = 'https://tekstmelding.neuf.no/'
CORS_ORIGIN_ALLOW_ALL = True
# Local settings
try:
from local_settings import *