Browse Source

index

master
Jméno Příjmení 4 years ago
parent
commit
95d2bc3891
  1. 1
      seasons/templates/seasons/index.html
  2. 2
      seasons/views.py
  3. 3
      zima_prijde/urls.py

1
seasons/templates/seasons/index.html

@ -0,0 +1 @@
výchozí stránka

2
seasons/views.py

@ -1,3 +1,5 @@
from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, "seasons/index.html")

3
zima_prijde/urls.py

@ -16,6 +16,9 @@ Including another URLconf
from django.contrib import admin
from django.urls import path
from seasons.views import index
urlpatterns = [
path('admin/', admin.site.urls),
path('', index),
]

Loading…
Cancel
Save