django-empty-users-app


Namedjango-empty-users-app JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/AllYouZombies/django-empty-users-app
SummaryJust an app with empty migration file inside.
upload_time2023-06-13 13:19:31
maintainer
docs_urlNone
authorAstafeev Rustam
requires_python>=3.6
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```shell
pip install django-empty-users-app
```

## Usage

Add `users` to `INSTALLED_APPS` in your `settings.py` file.

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

Then run migrations:

```shell
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

[MIT](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AllYouZombies/django-empty-users-app",
    "name": "django-empty-users-app",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Astafeev Rustam",
    "author_email": "rustam@astafeev.dev",
    "download_url": "https://files.pythonhosted.org/packages/bd/44/86a0514ed8d49e74ac0cbb63f0049a0dc7f97c3c0cb418e82d2d875bd7d1/django-empty-users-app-1.0.1.tar.gz",
    "platform": null,
    "description": "# Django Empty Users App\n\nThis app can be helpful for migrating to custom user model in existing Django project that already has users in database.\n\nTo learn more, please read this:\nhttps://testdriven.io/blog/django-custom-user-model-migration/\n\nI've made an app with 1 empty migration file, so you don't have to create it yourself.\n\n## Installation\n\n```shell\npip install django-empty-users-app\n```\n\n## Usage\n\nAdd `users` to `INSTALLED_APPS` in your `settings.py` file.\n\n```python\nINSTALLED_APPS = [\n    ...\n    'users',\n    ...\n]\n```\n\nThen run migrations:\n\n```shell\npython manage.py migrate\n```\n\nAfter performing migrations in all your environments, you can remove this app from `INSTALLED_APPS` and delete it from your project.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Just an app with empty migration file inside.",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/AllYouZombies/django-empty-users-app"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8f7d6024c295ffb8b14b789184f8eeb14b490a8bf48aa833c3af08adafdbb6e8",
                "md5": "a15c632b9404f8d04e642936bd114d82",
                "sha256": "7b97581b4985a8b26341ef79ba7a60fc3861d0b16156032cccadeaecfae469bb"
            },
            "downloads": -1,
            "filename": "django_empty_users_app-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a15c632b9404f8d04e642936bd114d82",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3599,
            "upload_time": "2023-06-13T13:19:29",
            "upload_time_iso_8601": "2023-06-13T13:19:29.261529Z",
            "url": "https://files.pythonhosted.org/packages/8f/7d/6024c295ffb8b14b789184f8eeb14b490a8bf48aa833c3af08adafdbb6e8/django_empty_users_app-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd4486a0514ed8d49e74ac0cbb63f0049a0dc7f97c3c0cb418e82d2d875bd7d1",
                "md5": "086abfc7e1dafcc197e00a07ceb80b86",
                "sha256": "6a0ac151c59b2aabeb97f6c98f606bd4ef78294cfc2a8e9cd6054fd769281747"
            },
            "downloads": -1,
            "filename": "django-empty-users-app-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "086abfc7e1dafcc197e00a07ceb80b86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3140,
            "upload_time": "2023-06-13T13:19:31",
            "upload_time_iso_8601": "2023-06-13T13:19:31.242327Z",
            "url": "https://files.pythonhosted.org/packages/bd/44/86a0514ed8d49e74ac0cbb63f0049a0dc7f97c3c0cb418e82d2d875bd7d1/django-empty-users-app-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-13 13:19:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AllYouZombies",
    "github_project": "django-empty-users-app",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "django-empty-users-app"
}
        
Elapsed time: 0.08232s