Skip to main content

Template for your own Django users app with custom user model.

Project description

Django Custom Users App

App that provides custom user model for Django projects. You don't need to create your own app for users in every project.

This app itself might not be useful. It's just a template for creating custom user model.
You can use it as a starting point for your own app.
E.g. you can fork this repo, customize it and push to your own repo.
Then you can install it in your projects using pip install <your-repo-url>.

If you find this app useful, please consider giving it a star on GitHub.


Installation

pip install django-custom-users-app

Usage

Add users to INSTALLED_APPS in your settings.py file.

INSTALLED_APPS = [
    ...
    'users',
    ...
]

Add AUTH_USER_MODEL to your settings.py file.

AUTH_USER_MODEL = 'users.User'

Then run migrations:

python manage.py migrate

License

MIT


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

django-custom-users-app-1.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

django_custom_users_app-1.0.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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