============================
User registration and management library using MongoEngine
Features
--------
* Create inactive user
* Generate activation token
* Try to activate user via activation token
* Set user password
* Check is activation token expired
* Integrate with django.contrib.auth
* Registration form
* Activation form
* Sample/default registration templates
TODO
----
* Django command to prune users that were not activated.
Installation
------------
`pip install regme`
Configuration
-------------
In addition to [MongoEngine Django support settings](http://docs.mongoengine.org/django.html) 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',
# …
)
Usage
-----
### Simple
* Include `regme.urls` into your `urlconf`.
* Use tag `{% url 'register' %}` to point to the regme registration view.
* (Optional) Override default templates placed in `regme/templates` folder.
### Advanced
* Use or subclass `regme.forms.UserCreationForm` and `regme.forms.UserActivationForm` manually.
* Subclass `regme.documents.User` and perform whatever magic you want.
Contribute
----------
Feel free to report any issue or fork this project on [Regme Github page](https://github.com/lig/regme).
Authors
-------
[Serge Matveenko](https://github.com/lig)
License
-------
Apache License. See `LICENSE` file.
Metadata
Release files for regme 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| regme-0.2.5.tar.gz | 5.3 kB | Without provenance | Details for regme-0.2.5.tar.gz |
Release files / regme-0.2.5.tar.gz
| Download URL | regme-0.2.5.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b32e7fbad90590b20044725022131ffc5cb5c3d7eb905d64953936efd29f050
|
|
BLAKE2b-256 checksum How to use checksums |
49e7f6fca827615df27ed1fd934082347770243e580beae8b86525fa60681292
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for regme 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.