links for footer
This commit is contained in:
SDE
2023-09-01 15:29:41 +03:00
parent 770289f1ae
commit 3015a3e8f2
4 changed files with 27 additions and 9 deletions

View File

@@ -12,6 +12,9 @@ urlpatterns = [
path('chat/<int:user_id>/', chat_w_user_View, name='chat_w_user'),
path('chat/', chat_w_user_View, name='chat_w_user_wo_user_id'),
path('create_route_for_customer/', create_route_for_customer_View, name='create_route_for_customer_View'),
path('create_route_for_mover/', create_route_for_mover_View, name='create_route_for_mover_View'),
path('login/', login_View, name='login_profile'),
path('logout/', logout_View, name='logout_profile'),

View File

@@ -22,6 +22,17 @@ def registration_View(request):
return HttpResponse(t.render(Dict, request))
def create_route_for_customer_View(request):
Dict = {}
t = loader.get_template('pages/profile/p_user_profile.html')
return HttpResponse(t.render(Dict, request))
def create_route_for_mover_View(request):
Dict = {}
t = loader.get_template('pages/profile/p_user_profile.html')
return HttpResponse(t.render(Dict, request))
@login_required(login_url='/profile/login/')
def chat_w_user_View(request, user_id=None):