Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Branch: master
Failed to load latest commit information.
alembic Support public clients using session-based tokens
instance Renamed config vars
lastuser_core Support public clients using session-based tokens
lastuser_oauth Catch Twitter login failures
lastuser_ui Changed navbar to hgnav.
lastuserapp Removed logo block.
tests Fix test
.gitignore Include the general static folder created by baseframe in .gitignore
.travis.yml Fix Travis.
CHANGES.rst Refactoring complete. Now a multi-file app.
LICENSE.txt Update copyright.
MANIFEST.in Refactoring complete. Now a multi-file app.
README.rst Updated dependencies in requirements.txt and also updated database se…
alembic.ini Alembic migrations.
config.rb Reorganized code into multiple blueprints.
manage.py i18n and string type consistency
requirements.txt Changed dependancies
rq.sh RQ settings.
rqdev.py RQ config and Alembic versioning in manage.py
rqinit.py RQ config and Alembic versioning in manage.py
runserver.py Don't autocreate db tables.
setup.cfg tests should cover all three lastuser blueprints
shell.py Make models available in shell.
sitecustomize.py i18n and string type consistency
test_requirements.txt Remove classmethod-based APIs
website.py Reorganized code into multiple blueprints.
website.wsgi Reorganized code into multiple blueprints.

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.