hi, I’m a beginner, so excuse me.
I followed a tutorial
who made me set up the file urls.py
from django.contrib import admin
from django.urls import path
from rolls import views
urlpatterns = [
and the file views.py
def rolls (request):
as soon as I added this line
the site did not work anymore and gives me this error
Using the URLconf defined in
ciao.urls , Django tried these URL patterns, in this order:
The empty path didn’t match any of these.
You’re seeing this error because you have
DEBUG = True in your Django settings file. Change that to
False , and Django will display a standard 404 page.
Does anyone know where the mistake is?