Skip to content
This repository

User management in each new app is a pain. This is the last time you should be doing it

branch: master
Octocat-spinner-32 alembic User referrer id for #84 April 15, 2014
Octocat-spinner-32 instance Remove description in User/Org. Fixes #112 April 13, 2014
Octocat-spinner-32 lastuser_core User referrer id for #84 April 15, 2014
Octocat-spinner-32 lastuser_oauth Handle unusual LinkedIn login failure. April 15, 2014
Octocat-spinner-32 lastuser_ui Remove description in User/Org. Fixes #112 April 13, 2014
Octocat-spinner-32 lastuserapp Update _version.py January 29, 2014
Octocat-spinner-32 tests Fix test March 19, 2014
Octocat-spinner-32 .gitignore Ignore PyCharm folder. August 27, 2012
Octocat-spinner-32 .travis.yml Fix Travis. August 28, 2013
Octocat-spinner-32 CHANGES.rst Refactoring complete. Now a multi-file app. May 18, 2011
Octocat-spinner-32 LICENSE.txt Update copyright. September 12, 2013
Octocat-spinner-32 MANIFEST.in Refactoring complete. Now a multi-file app. May 18, 2011
Octocat-spinner-32 README.rst Updated dependencies in requirements.txt and also updated database se… March 05, 2014
Octocat-spinner-32 alembic.ini Alembic migrations. April 20, 2013
Octocat-spinner-32 config.rb Reorganized code into multiple blueprints. March 20, 2013
Octocat-spinner-32 manage.py manage.py db create was throwing error: AssertionError: The sqlalchem… August 14, 2013
Octocat-spinner-32 requirements.txt Updated dependencies in requirements.txt and also updated database se… March 05, 2014
Octocat-spinner-32 rq.sh RQ settings. June 02, 2013
Octocat-spinner-32 rqdev.py RQ config and Alembic versioning in manage.py June 10, 2013
Octocat-spinner-32 rqinit.py RQ config and Alembic versioning in manage.py June 10, 2013
Octocat-spinner-32 runserver.py Don't autocreate db tables. July 27, 2013
Octocat-spinner-32 setup.cfg tests should cover all three lastuser blueprints August 20, 2013
Octocat-spinner-32 shell.py Make models available in shell. June 14, 2013
Octocat-spinner-32 sitecustomize.py Fix hasattr spelling. October 09, 2013
Octocat-spinner-32 test_requirements.txt Remove classmethod-based APIs August 27, 2013
Octocat-spinner-32 website.py Reorganized code into multiple blueprints. March 20, 2013
Octocat-spinner-32 website.wsgi Reorganized code into multiple blueprints. March 20, 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'
Something went wrong with that request. Please try again.