Commit a1996381 authored by Benjamin S Waters's avatar Benjamin S Waters
Browse files

come on urls

parent 929e87a4
......@@ -6,10 +6,10 @@ admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# Uncomment the admin/doc line below to enable admin documentation:
url(r'^', include('website.urls')),
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
url(r'^admin/', include(,
url(r'^', include('website.urls')),
url(r'^login/$', 'django.contrib.auth.views.login', {
'template_name': 'login.html'}),
url(r'^logout/$', 'django.contrib.auth.views.logout', {
......@@ -5,7 +5,7 @@ from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register(r'categories', CategoryViewSet)
router.register(r'facilities', FacilityViewSet)
router.regsiter(r'schedules', ScheduleViewSet)
router.register(r'schedules', ScheduleViewSet)
router.register(r'opentimes', OpenTimeViewSet)
urlpatterns = patterns('whats_open_site.views',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment