Praktikum 2 fertig

This commit is contained in:
2021-10-27 12:14:15 +02:00
parent ba5e0c86c0
commit 1f2e1e448b
3 changed files with 11 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name = 'index')
]
+3 -1
View File
@@ -1,3 +1,5 @@
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Index der Seite Posts Applikation")