1.8.0 landing_mover
This commit is contained in:
@@ -6,6 +6,7 @@ from .views import *
|
||||
|
||||
urlpatterns = [
|
||||
path('', MainPage, name='main'),
|
||||
path('mover_landing_page/', LandingMoverPage, name='mover_landing_page'),
|
||||
path('page/<str:url>/', StaticPageView, name='static_page'),
|
||||
path('test_code', test_code, name='test_code'),
|
||||
path('generate_routes/<int:routes_count>/', generate_routes, name='generate_routes'),
|
||||
|
||||
@@ -148,7 +148,28 @@ def Page404(request, exeption=None):
|
||||
except Exception as e:
|
||||
return HttpResponse(str(e))
|
||||
|
||||
def LandingMoverPage(request):
|
||||
|
||||
from .init_options import init_options
|
||||
init_options()
|
||||
|
||||
|
||||
print(f'LOCALE_PATHS = {str(settings.LOCALE_PATHS)}')
|
||||
|
||||
page, is_created = StaticPage.objects.get_or_create(url='landing_mover')
|
||||
|
||||
Dict = {
|
||||
'page': page,
|
||||
}
|
||||
|
||||
|
||||
|
||||
breadcrumbs_Dict = {
|
||||
}
|
||||
Dict.update({'breadcrumbs': breadcrumbs_Dict})
|
||||
|
||||
t = loader.get_template('pages/p_mover_landing_page.html')
|
||||
return get_inter_http_response(t, Dict, request)
|
||||
|
||||
|
||||
def MainPage(request):
|
||||
|
||||
Reference in New Issue
Block a user