PraBlatt3 fertig
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name='index')
|
||||
]
|
||||
+6
-2
@@ -1,3 +1,7 @@
|
||||
from django.shortcuts import render
|
||||
from django.http import HttpResponse
|
||||
|
||||
|
||||
|
||||
def index (request):
|
||||
return HttpResponse("Index-Seite der Posts-Applikation")
|
||||
|
||||
# Create your views here.
|
||||
|
||||
Reference in New Issue
Block a user