Created
March 8, 2018 14:26
-
-
Save craigderington/438d12c9eb5c91812c3397ebd2362679 to your computer and use it in GitHub Desktop.
Django URLs Example
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
# urls.py | |
from django.conf.urls import url | |
from views import CustomerListView | |
urlpatterns = [ | |
url(r'^customers/$', CustomerListView.as_view()), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment