add .gitignore file

This commit is contained in:
2019-10-29 14:25:46 +01:00
parent c9760f08e6
commit 03e37eec35
3 changed files with 17 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('posts/', views.posts, name='posts')
]
+7
View File
@@ -1,3 +1,10 @@
from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("Startseite")
def posts(request):
return HttpResponse("Posts")
# Create your views here.