Removed invalid urls

This commit is contained in:
Fergal Moran
2013-08-05 16:58:14 +01:00
parent 414dd8053a
commit a91c8d27e9
2 changed files with 0 additions and 14 deletions

View File

@@ -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'
]
}

View File

@@ -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'),