site actually works

This commit is contained in:
matteo-id committed 2021-12-24 11:44:21 -05:00
1 parent 3660710b23
commit 6d61b18f4e
19 files changed
+2283 -11314

No files matched your search

+2 -2
View File
@@ -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"),
]
+2 -3
View File
@@ -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'})