<filename>demo/urls.py
from django.contrib import admin
from django.urls import include, path
from django.views import debug

import zapier.urls
from demo.views import NewBooksById, NewBooksByTimestamp
from demo.views import test as test_view

admin.autodiscover()

urlpatterns = [
    path("", debug.default_urlconf),
    path("admin/", admin.site.urls),
    path("zapier/", include(zapier.urls)),
    path("demo/test/<int:number>/", test_view, name="test"),
    path("demo/books/id/", NewBooksById.as_view()),
    path("demo/books/timestamp/", NewBooksByTimestamp.as_view()),
]

<filename>demo/urls.py
from django.contrib import admin
from django.urls import include, path
from django.views import debug

import zapier.urls
from demo.views import NewBooksById, NewBooksByTimestamp
from demo.views import test as test_view

admin.autodiscover()

urlpatterns = [
    path("", debug.default_urlconf),
    path("admin/", admin.site.urls),
    path("zapier/", include(zapier.urls)),
    path("demo/test/<int:number>/", test_view, name="test"),
    path("demo/books/id/", NewBooksById.as_view()),
    path("demo/books/timestamp/", NewBooksByTimestamp.as_view()),
]
