Created
March 28, 2016 19:36
-
-
Save vieirin/3efffa6924b82248a4f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf.urls import url | |
from rest_framework.urlpatterns import format_suffix_patterns | |
from connection import views | |
urlpatterns = [ | |
url(r'^connection/$', views.CodeList), | |
url(r'^connection/(?P<pk>[0-9]+)/$', views.CodeDetail), | |
] | |
urlpatterns = format_suffix_patterns(urlpatterns) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment