From bcb420c8db1e371a0bbcfe08155bc4a9701213bd Mon Sep 17 00:00:00 2001 From: SDE Date: Tue, 11 Jul 2023 16:30:15 +0300 Subject: [PATCH] 0.0.19 routes --- AuthApp/js_views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AuthApp/js_views.py b/AuthApp/js_views.py index 4068234..1aedcf5 100644 --- a/AuthApp/js_views.py +++ b/AuthApp/js_views.py @@ -17,12 +17,10 @@ def my_routes_ajax(request): if request.method != 'POST': raise Http404 - from RoutesApp.forms import RegistrationForm Dict = { - 'form': RegistrationForm() } - html = render_to_string('blocks/profile/b_new_route.html', Dict, request=request) + html = render_to_string('blocks/profile/b_my_routes.html', Dict, request=request) return JsonResponse({'html': html}, status=200)