First view

This commit is contained in:
Michael Bergbauer 2025-05-09 14:06:21 +02:00
parent 3af6652e68
commit a1c9a6a3cc
3 changed files with 12 additions and 2 deletions

View File

@ -15,8 +15,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.urls import path,include
urlpatterns = [
path('', include('member.urls')),
path('admin/', admin.site.urls),
]

6
member/urls.py Normal file
View File

@ -0,0 +1,6 @@
from django.urls import path
from . import views
urlpatterns = [
path('members/', views.members, name='members'),
]

View File

@ -1,3 +1,6 @@
from django.shortcuts import render
from django.http import HttpResponse
def members(request):
return HttpResponse("Hello World")
# Create your views here.