Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Upgrade django-csp.
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Jul 30, 2013
1 parent 5949b0f commit 7c05326
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions apps/common/middleware.py
Expand Up @@ -26,8 +26,7 @@ def process_request(self, request):
r'^/[\w-]+{0}'.format(reverse('login')),
r'^/[\w-]+{0}'.format(reverse('profile.edit')),
r'^/browserid/',
r'^/[\w-]+/jsi18n/',
r'^/csp/',]
r'^/[\w-]+/jsi18n/']

if settings.DEBUG:
allow_urls.append(settings.MEDIA_URL)
Expand Down
1 change: 0 additions & 1 deletion settings/default.py
Expand Up @@ -285,7 +285,6 @@
'https://*.mozilla.org',
'https://*.mozilla.net',)


# Elasticutils settings
ES_DISABLED = True
ES_HOSTS = ['127.0.0.1:9200']
Expand Down

0 comments on commit 7c05326

Please sign in to comment.