rebase-initial

This commit is contained in:
2024-11-20 11:11:31 +07:00
parent 45e3c1f698
commit 1ead9da097
4 changed files with 5 additions and 52 deletions

View File

@@ -1,4 +1,4 @@
from django.shortcuts import render
from django.shortcuts import render, get_object_or_404
from home.models import *
# ===============> Front Home Page View <===============
@@ -24,4 +24,4 @@ def homePageFront(request):
return render(request, 'front/main/index.html', context)
def error_404(request, exception):
return render(request, 'error/404.html', status=404)
return render(request, 'front/main/index.html', context)