This is an app for managing users in a SaaS product named Platform.
Project description
# platform-users: Django Authentication Module
platform-users
is a comprehensive Django authentication module designed to streamline user authentication in your projects. It offers a range of features, including a customizable user model, JWT-based authentication, and easy integration.
Table of Contents
Installation
Use the package manager pip to install platform-users
.
pip install platform-users
Configuration
Custom User Model
Update your project's INSTALLED_APPS
setting in settings.py
:
INSTALLED_APPS = [
# ...,
'platform_users',
]
Configure the custom user model in settings.py
:
AUTH_USER_MODEL = 'platform_users.Users'
Fake Migrations
Run the following command to fake migrations for the platform_users
app:
python manage.py migrate platform_users --fake
Secret Key Replacement
Replace the secret key in your child project with the secret key from platform-users
. Keep the secret key secure.
# Example:
# parent_project_secret_key = '<some_secret_key1>'
# child_project_secret_key = '<parent_project_secret_key>'
Usage
Refer to the documentation for detailed usage instructions.
Documentation
Visit our official documentation for comprehensive information, API references, and usage examples.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file platform_users-1.0.4.tar.gz
.
File metadata
- Download URL: platform_users-1.0.4.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2645b8c09d735fed93e3b8462f5b7f02aa1b593f86c640fddfdbc2f5b351ec95 |
|
MD5 | c7005fb380180e30f82714e02967b69f |
|
BLAKE2b-256 | feba4af5d951e6cb2089bd6953c3bf353e594c4c902dcbd992f93a87965bed3a |
File details
Details for the file platform_users-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: platform_users-1.0.4-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0d9248d7e711624fc195249aef3dbfad2936deb02594be5bbadb7d34f4d72c2 |
|
MD5 | 5ac96edfa9f23947d6d2f059a8546e65 |
|
BLAKE2b-256 | 7cf3da8f506899ccf62471c6391ae46ccfb56c72b054807884408484648437c2 |