initial
This commit is contained in:
commit
45e3c1f698
3462 files changed
+617437
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user