Just an app with empty migration file inside.
Project description
Django Empty Users App
This app can be helpful for migrating to custom user model in existing Django project that already has users in database.
To learn more, please read this: https://testdriven.io/blog/django-custom-user-model-migration/
I've made an app with 1 empty migration file, so you don't have to create it yourself.
Installation
pip install django-empty-users-app
Usage
Add users
to INSTALLED_APPS
in your settings.py
file.
INSTALLED_APPS = [
...
'users',
...
]
Then run migrations:
python manage.py migrate
After performing migrations in all your environments, you can remove this app from INSTALLED_APPS
and delete it from your project.
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
Close
Hashes for django-empty-users-app-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93513a5b20318e8a38d867d2a96440fca4ac15bd394f28beab7c2243a75d89e7 |
|
MD5 | f57ddcac9f41c22573925cf98a052634 |
|
BLAKE2b-256 | e2065f75fbe72ff4646f45257f65ad4b99d611eba91c5d9545fbff6eeb89e38a |
Close
Hashes for django_empty_users_app-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eef0fcb3c215bce8c2bbc6b0e4ecf4fab562c4018ba5f73661a0528c757feb27 |
|
MD5 | dc86766c305d9fc72782bc71c20a9520 |
|
BLAKE2b-256 | 7c02690ac01a49b3a5c0e4b9ef790bf50908d43ad0ffacea7f7ca9fb85bfd5b3 |