User management in each new app is a pain. This is the last time you should be doing it
Python HTML CSS Mako Ruby JavaScript
Latest commit 2f14c18 Jul 20, 2016 @jace jace Fix typo.
Failed to load latest commit information.
alembic
instance
lastuser_core
lastuser_oauth
lastuser_ui
lastuserapp
tests
.gitignore
.travis.yml
CHANGES.rst
LICENSE.txt
MANIFEST.in Refactoring complete. Now a multi-file app. May 18, 2011
README.rst
alembic.ini
config.rb
manage.py
requirements.txt
rq.sh
rqdev.py
rqinit.py
runserver.py
setup.cfg
sitecustomize.py
test_requirements.txt
website.py
website.wsgi

README.rst

Lastuser

User management is a pain. There's no need to write new user management code for each new app to do basic things like logging in, managing the profile and verifying email addresses. Setup one Lastuser instance for all your apps and defer all user management to it. Use the API to integrate with your app.

This project is a work in progress.

Test deployment

Here is how you make a test deployment:

$ git clone https://github.com/hasgeek/lastuser
$ cd lastuser
$ cp instance/settings-sample.py instance/settings.py
$ open instance/settings.py # Customize this file as needed
$ pip install -r requirements.txt
$ python runserver.py

You may also want to setup the database with:

$ python manage.py db create

For development setup, you can also set the CACHE_TYPE to simple in instance/settings.py or in instance/development.py:

#: Cache type
CACHE_TYPE = 'simple'