Skip to main content

Flask app for store user in MongoDB and simple views for login, logout and registration.

Project description

Flask app for store user in MongoDB and simple views for login, logout and registration.

  • Free software: BSD license


Install flask-musers:

pip install flask-musers

In the app you must init the MUsers:

from flask import Flask
from flask.ext.musers import MUsers

app = Flask(__name__)

and register flask-musers blueprint:

from flask_musers.views import musers


then must be prepared templates for registration - musers/register.html and login - musers/login.html.

Views has names musers.register, musers.login and musers.logout. They are used in url_for:

from flask import url_for



  • MUSERS_ALLOW_REGISTRATIONS - set to False, when you want disable registrations. Default: True
  • MUSERS_PASSWORD_VALIDATOR - used for custom validator. The dotted name for the object to import. Default: None


0.0.1 (2013-09-17)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flask-musers, version 0.5.4
Filename, size File type Python version Upload date Hashes
Filename, size flask-musers-0.5.4.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page