mirror of
https://github.com/fergalmoran/dss.git
synced 2026-03-25 15:05:51 +00:00
Removed invalid urls
This commit is contained in:
@@ -272,16 +272,3 @@ REALTIME_HEADERS = {
|
||||
'content-type': 'application/json'
|
||||
}
|
||||
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
# Use hyperlinked styles by default.
|
||||
# Only used if the `serializer_class` attribute is not set on a view.
|
||||
'DEFAULT_MODEL_SERIALIZER_CLASS':
|
||||
'rest_framework.serializers.HyperlinkedModelSerializer',
|
||||
|
||||
# Use Django's standard `django.contrib.auth` permissions,
|
||||
# or allow read-only access for unauthenticated users.
|
||||
'DEFAULT_PERMISSION_CLASSES': [
|
||||
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
|
||||
]
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ audio = AudioHandler()
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
url(r'^$', 'spa.views.app', name='home'),
|
||||
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
||||
url(r'^tpl/(?P<template_name>\w+)/$', 'spa.templates.get_template'),
|
||||
url(r'^dlg/(?P<dialog_name>\w+)/$', 'spa.templates.get_dialog'),
|
||||
url(r'^dlg/embed/(?P<slug>[\w\d_.-]+)/$', 'spa.templates.get_embed_codes_dialog'),
|
||||
|
||||
Reference in New Issue
Block a user