Juliette Dupuis
Juliette Dupuis

Reputation: 1037

Popup form in Django (Jquery)

I know it's a very basic question, but I didn't find a simple explanation on how to do it.

I'm developing my app with Django and what I wan't is to create a popup in wich I can put a form so the user can authenticates. I just have no idea on how to do that. I know I have to use Jquery for that but that's it.

I'm just looking for hints or for good tutorials.

Thank you for your help.

Upvotes: 1

Views: 4886

Answers (1)

Raunak Agarwal
Raunak Agarwal

Reputation: 7238

Mainly what you are looking for is a Modal form. You need to pass the form from your view and render it on the template using jquery and submit it via ajax. Take a look in to this..

http://www.micahcarrick.com/ajax-form-submission-django.html

Upvotes: 2

Related Questions