Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created August 25, 2020 05:56
Show Gist options
  • Save velotiotech/f247bbcbfeefab9ace3183c64bf21643 to your computer and use it in GitHub Desktop.
Save velotiotech/f247bbcbfeefab9ace3183c64bf21643 to your computer and use it in GitHub Desktop.
urlpatterns = [
path('admin/', admin.site.urls),
path('hello-world/', HelloWorldAPI.as_view()),
path('books/', BookListCreateAPIView.as_view(), name="book_list")
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment