Update cors headers regex (#168)

This commit is contained in:
Paul Hallett 2016-04-23 14:37:43 +01:00
parent 0bce568bce
commit 489c1a700e

View file

@ -144,6 +144,8 @@ CORS_ALLOW_METHODS = (
'GET'
)
CORS_URLS_REGEX = r'^/api/.*$'
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',