site actually works
This commit is contained in:
1 parent
7cab9b43ac
commit
6761806eb5
19 files changed
+2283
-11314
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -2,7 +2,7 @@ from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.base, name='homepage'),
|
||||
path('', views.home, name='lottopy'),
|
||||
path('', views.base, name='base'),
|
||||
path('home/', views.home, name='home'),
|
||||
path('about/', views.about, name="about"),
|
||||
]
|
||||
@@ -1,7 +1,6 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
from django.http import HttpResponse
|
||||
from django.shortcuts import render
|
||||
|
||||
def base(request):
|
||||
return render(request, 'lottopy/base.html',
|
||||
@@ -13,4 +12,4 @@ def home(request):
|
||||
|
||||
def about(request):
|
||||
return render(request, 'lottopy/about.html',
|
||||
{'nbar': 'about'}, {'title': 'About'})
|
||||
{'nbar': 'about', 'title': 'About'})
|
||||
Reference in new issue
Block a user