Skip to main content

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


Download files

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

Source Distribution

platform_users-1.0.7.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

platform_users-1.0.7-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file platform_users-1.0.7.tar.gz.

File metadata

  • Download URL: platform_users-1.0.7.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for platform_users-1.0.7.tar.gz
Algorithm Hash digest
SHA256 9fd2714d6a941d46b0123ff98a36bbf4d823c686dc092ea53c7646318c98154a
MD5 3b8422f078ed26b975c8e4461666ae25
BLAKE2b-256 4c34e36a404bf8406e7cf19c1ca8b8276edeaee59b44c1c8ee7f2f09d333db33

See more details on using hashes here.

File details

Details for the file platform_users-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for platform_users-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e7116b295ec9b0afca372b9d482f1a47c9942cf1bbf978efd2dac63610ae38e8
MD5 f6e0160bfd658ceb0be6900566107fde
BLAKE2b-256 bb5ff5209864dc88eb7c6ee4cfecb3b4ca19dc31b92781d1acbed70612602ca0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page