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)