0.0.19
routes
This commit is contained in:
@@ -17,12 +17,10 @@ def my_routes_ajax(request):
|
|||||||
if request.method != 'POST':
|
if request.method != 'POST':
|
||||||
raise Http404
|
raise Http404
|
||||||
|
|
||||||
from RoutesApp.forms import RegistrationForm
|
|
||||||
Dict = {
|
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)
|
return JsonResponse({'html': html}, status=200)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user