urlpatterns = [
url('admin/', admin.site.urls),
url('',app.urls, name = 'app')
]
url('',app.urls, name = 'app')
NameError: name 'app' is not defined
from django.urls import include
# ...
urlpatterns = [
# ...
path('', include('app.urls', namespace='app')),
]
# ...