/webapp2-user-accounts

Jinja2 + webapp2 user accounts

Primary LanguagePythonMIT LicenseMIT

Custom user authentication with webapp2 + Jinja2

This is a skeleton implementation of user account management with webapp2.

You will have to take care of the following items:

  • Implement user registration
  • Write code to handle login
  • Setup email verification and password recovery (This has been done for you already)
  • Send email verification and password recovery messages via email
  • Configure login and password reset urls to use https (you will have to deploy your app to test this)

You can find most of the logic in main.py (even though you may want to put handlers in separate files, as your app grows in complexity), a custom user model in models.py, and some extremely simple views in views.

More information

You can find a detailed tutorial in this blog post: Custom user authentication with webapp2.

Info by Matej Ramuta

I implemented Jinja2 templating engine into abahgat's great user auth for webapp2.