User registration and management library using MongoEngine
APACHE-2.0 License
User registration and management library using MongoEngine
pip install regme
In addition to MongoEngine Django support settings Regme requires following settings:
# The number of days activation token will be valid
ACCOUNT_ACTIVATION_DAYS = 7
# Regme custom user document for MongoEngine
# You should not change it unless you know what are you doing
MONGOENGINE_USER_DOCUMENT = 'regme.documents.User'
# Include regme into installed apps list
INSTALLED_APPS = (
# …
'django.contrib.auth',
# …
'mongoengine.django.mongo_auth',
# …
'regme',
# …
)
# Site information (domain and name) for use in activation mail messages
SITE = {'domain': 'domain.tld', 'name': 'Site Name'}
regme.urls
into your urlconf
.{% url 'register' %}
to point to the regme registration view.regme/templates
folder.regme.forms.UserCreationForm
and regme.forms.UserActivationForm
manually.regme.documents.User
and perform whatever magic you want.Feel free to report any issue or fork this project on Regme Github page.
Apache License. See LICENSE
file.