mirror of
https://github.com/bspeice/UNCCGameDay-Server
synced 2025-12-07 02:28:53 -05:00
Fix the single-lot view.
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
from django.conf.urls import url, patterns
|
||||
import views
|
||||
|
||||
from rest_framework.urlpatterns import format_suffix_patterns
|
||||
|
||||
urlpatterns = patterns('gameday.views',
|
||||
url('^$', 'api_root'),
|
||||
url('^lots/$', views.ParkingLotList.as_view(), name='parking-lots'),
|
||||
url('^lots/(?P<lot>)$', views.SingleParkingLotList.as_view(), name='parking-lot'),
|
||||
url('^lots/(?P<lot>\w+)/$', views.SingleParkingLotList.as_view(), name='parking-lot'),
|
||||
url('^rate/$', views.RateLot.as_view(), name='parking-rating'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user