0
<https://stackoverflow.com/posts/75924374/timeline>

I know this question has been asked before, but I haven't found an answer 
that solves my situation.

I'm looking at the Django tutorial, and I've set up the first URLs exactly 
as the tutorial has it, word for word, but when I go to 
http://127.0.0.1:8000/, it gives me this error: but when i go to 
http://127.0.0.1:8000/admin/ its working fine,where and what i am doing 
wrong? i am using python version 3.11.1 please let me know for any other 
info
urls.py

from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings
from .views import home
urlpatterns = [
                path('admin/', admin.site.urls),
                path('', home)
              ]

views.py
from django.http import HttpResponse
from django.shortcuts import render

# Create your views here.
def home(request):
    return render(request,home.html,{})

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5ad2f1c6-101a-4c16-9eff-a886d9267805n%40googlegroups.com.

Reply via email to