Add code for the REST API to work with Parking lot ratings

This commit is contained in:
Bradlee Speice
2013-10-14 22:54:52 -04:00
parent 7be5cd6f97
commit 4b338c220e
4 changed files with 25 additions and 6 deletions

View File

@ -2,5 +2,6 @@ from django.conf.urls import url, patterns
import views
urlpatterns = patterns('',
url('^lots/$', views.ParkingLotList.as_view())
url('^lots/$', views.ParkingLotList.as_view()),
url('^rate/$', views.RateLot.as_view())
)