add wifilocate api

This commit is contained in:
Laura Klünder 2016-12-27 23:39:14 +01:00
parent b970b47ed4
commit 01be74ab33
7 changed files with 43 additions and 6 deletions

View file

@ -188,8 +188,11 @@ USE_TZ = True
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'c3nav.api.authentication.ForceCSRFCheckSessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
),
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.AllowAny',
)
}
LOCALE_PATHS = (