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
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
README.rst
alembic.ini
config.rb
manage.py
requirements.txt
rq.sh RQ settings. Jun 1, 2013
rqdev.py RQ config and Alembic versioning in manage.py Jun 9, 2013
rqinit.py
runserver.py
setup.cfg
sitecustomize.py
test_requirements.txt
website.py
website.wsgi Reorganized code into multiple blueprints. Mar 19, 2013

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'