rebase-initial
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user