This commit is contained in:
2024-12-13 08:31:39 +07:00
parent 1ead9da097
commit 5bdf96851e
3554 changed files with 400518 additions and 83328 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
from django.shortcuts import render
from django.shortcuts import render, get_object_or_404
from about.models import *
from home.models import *
@@ -6,11 +6,13 @@ def aboutPageFront(request):
seo = aboutPageSEO.objects.first()
aboutpage = aboutPage.objects.first()
about = aboutSection.objects.first()
sliders = sliderSection.objects.all()
context = {
context ={
'seo' : seo,
'aboutpage' : aboutpage,
'about' : about,
'sliders' : sliders,
}
return render(request, 'front/main/about.html', context)