This commit is contained in:
ariska committed 2024-11-19 13:00:24 +07:00
commit 45e3c1f698
3462 files changed
+617437

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
from django.shortcuts import render
from about.models import *
from home.models import *
def aboutPageFront(request):
seo = aboutPageSEO.objects.first()
aboutpage = aboutPage.objects.first()
about = aboutSection.objects.first()
context = {
'seo' : seo,
'aboutpage' : aboutpage,
'about' : about,
}
return render(request, 'front/main/about.html', context)
def error_404(request, exception):
return render(request, 'error/404.html', status=404)