<reponame>jessnswift/fashionquotes
from django.conf.urls import url, include
from rest_framework import routers
from quickstart import views

router = routers.DefaultRouter()
router.register(r'Quote', views.QuoteViewSet)

# Wire up our API using automatic URL routing.
# Additionally, we include login URLs for the browsable API.
urlpatterns = [
    url(r'^', include(router.urls)),
    url(r'^random_quote$', views.random_quote),
    url(r'^zach_wants_to_know$', views.zach_wants_to_know),
]
from django.conf.urls import url, include
from rest_framework import routers
from quickstart import views

router = routers.DefaultRouter()
router.register(r'Quote', views.QuoteViewSet)

# Wire up our API using automatic URL routing.
# Additionally, we include login URLs for the browsable API.
urlpatterns = [
    url(r'^', include(router.urls)),
    url(r'^random_quote$', views.random_quote),
    url(r'^zach_wants_to_know$', views.zach_wants_to_know),
]
# Wire up our API using automatic URL routing. # Additionally, we include login URLs for the browsable API.