mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
buttons for importBooks, and logout.
This commit is contained in:
@@ -402,6 +402,8 @@ def live(request, **kwargs):
|
||||
html = render_to_string('signup.html', {'form': SignUpForm}, request)
|
||||
html += render_to_string('login.html', {'form': UserLoginForm}, request)
|
||||
return JsonResponse({"data": html})
|
||||
elif hook == "update_books":
|
||||
print("Update Books")
|
||||
else: return JsonResponse(err_txt, status=404)
|
||||
|
||||
return JsonResponse({"data": "Response sent"}, status=200)
|
||||
|
||||
Reference in New Issue
Block a user