error in django URLconf, I can't start the local server, an error pops up in the screenshot

enter image description here
I have a ready-made html template with css. It seems to have done everything correctly, but it does not work.

project location C:\Projects\brew\brewtopia

location of the application C:\Projects\brew\brewtopia\users

location of the main C:\Projects\brew\brewtopia\brewtopia\

location in the app C:\Projects\brew\brewtopia\users\

location of in the app C:\Projects\brew\brewtopia\users\

html layout C:\Projects\brew\brewtopia\users\templates\users\Brewtopia.

folder static C:\Projects\brew\brewtopia\users\static

version django 4.1
python 3.11

I’ve been sitting with this problem for a day now, I’ve tried everything, people with experiences help me, I just started learning django

here is the code in the urls,py of the main project

`from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('"', include('users.urls')),

here is the code in urls,py in the application

`from django.urls import path
from . import views

urlpatterns = [
      path('Brewtopia', views.Brewtopia_view, name='brewtopia')

here is the code in in the app

`from django.shortcuts import render

def Brewtopia_view(request):
    return render(request, 'Brewtopia.html')`

in the main I have completed this


>Solution :

If you want set localhost:8000/Brewtopia as index, change the code in in the application like that

`from django.urls import path
 from . import views

 urlpatterns = [
    path('', views.Brewtopia_view, name='brewtopia')

Leave a Reply