Skip to content

Glideh/django-ajax-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aim

Initiated from this SO question. Displays a modal allowing to login or register for an account with ajax. The modal would popup if an ajax action requiring authentication returns Unauthorized (assumed unauthenticated).

This is far to work out of the box, you are invited to discover the code. Any help to improve & package the code is much appreciated.

Installation & Requirements

Copy the files in the good locations & D(R/I)Y. This is designed to work with Django 1.6, python-social-auth, django-registration, Bootstrap & django-crispy-forms But it is more here to give an idea on how we could achieve an ajax login/registration.

Please check the test page (template/test.html) to help you understand.

About

Login & Registration enabled with Ajax

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published