From b5ae16ba933b8dc764d42689ff05638e9884cb8e Mon Sep 17 00:00:00 2001 From: DjBushido Date: Mon, 28 Oct 2013 12:03:03 -0400 Subject: [PATCH] Add the location view to the URLs --- uncc_gameday/gameday/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uncc_gameday/gameday/urls.py b/uncc_gameday/gameday/urls.py index d02f4a9..1d53f26 100644 --- a/uncc_gameday/gameday/urls.py +++ b/uncc_gameday/gameday/urls.py @@ -7,7 +7,8 @@ urlpatterns = patterns('gameday.views', url('^$', 'api_root'), url('^lots/$', views.ParkingLotList.as_view(), name='parking-lots'), url('^lots/(?P\w+)/$', views.SingleParkingLotList.as_view(), name='parking-lot'), - url('^rate/$', views.RateLot.as_view(), name='parking-rating'), + url('^lots/rate/$', views.RateLot.as_view(), name='parking-rating'), + url('^lots/location/(?P\w+)/$', views.ParkingLotEntrance.as_view(), name='get-location'), url('^register/(?P\d+)/$', views.ListRegisteredUsers.as_view(), name='get-registered-user'), url('^register/(?P\w+)/(?P\w+)/$', views.ListRegisteredUserByName.as_view(), name='get-registered-user-by-name'),