# django-rename-app
A Django Management Command to rename existing Django Applications.
[](https://pypi.org/project/django-rename-app/)
# Installation
`pip install django-rename-app`.
Add to your Django settings.py `INSTALLED_APPS`:
```
INSTALLED_APPS = [
...
'django_rename_app',
...
]
```
# Usage
`python manage.py rename_app <old_app_name> <new_app_name>`
For full detailed instructions see https://odwyer.software/blog/how-to-rename-an-existing-django-application
Release History
===============
## 0.1.7 (2023-11-08)
------------------
- Fixes for Python 3.7+.
0.1.6 (2023-03-05)
------------------
- Fix for rename sequences, indexes, constraints and M2M tables.
0.1.5 (2022-11-19)
------------------
- Fix NameError.
0.1.4 (2022-11-17)
------------------
- Fix for DB tables with uppercase chars.
- Get content_type name from the database instead of making assumption.
0.1.3 (2021-03-29)
------------------
- Handle table name truncation as Django does.
0.1.2 (2020-06-02)
------------------
- When ran multiple times at the same time, Exception would raise from rename queries. Catch and log this instead of crashing.
0.1.1 (2020-06-01)
------------------
- Documentation updates.
0.1.0 (2020-06-01)
------------------
- Initial release.
Raw data
{
"_id": null,
"home_page": "https://github.com/odwyersoftware/django-rename-app",
"name": "django-rename-app",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "O'Dwyer Software",
"author_email": "hello@odwyer.software",
"download_url": "https://files.pythonhosted.org/packages/70/f6/0cb0c7169584e8f87c229e6336ce98f90cbb911ae374e2a7683c25e872b4/django_rename_app-0.1.7.tar.gz",
"platform": null,
"description": "# django-rename-app\n\nA Django Management Command to rename existing Django Applications.\n\n[](https://pypi.org/project/django-rename-app/)\n\n# Installation\n\n`pip install django-rename-app`.\n\nAdd to your Django settings.py `INSTALLED_APPS`:\n\n```\nINSTALLED_APPS = [\n ...\n 'django_rename_app',\n ...\n]\n```\n\n# Usage\n\n\n`python manage.py rename_app <old_app_name> <new_app_name>`\n\nFor full detailed instructions see https://odwyer.software/blog/how-to-rename-an-existing-django-application\n\n\n\nRelease History\n===============\n\n## 0.1.7 (2023-11-08)\n------------------\n\n- Fixes for Python 3.7+.\n\n\n0.1.6 (2023-03-05)\n------------------\n\n- Fix for rename sequences, indexes, constraints and M2M tables.\n\n\n0.1.5 (2022-11-19)\n------------------\n\n- Fix NameError.\n\n\n0.1.4 (2022-11-17)\n------------------\n\n- Fix for DB tables with uppercase chars.\n- Get content_type name from the database instead of making assumption.\n\n\n0.1.3 (2021-03-29)\n------------------\n\n- Handle table name truncation as Django does.\n\n\n0.1.2 (2020-06-02)\n------------------\n\n- When ran multiple times at the same time, Exception would raise from rename queries. Catch and log this instead of crashing.\n\n\n0.1.1 (2020-06-01)\n------------------\n\n- Documentation updates.\n\n\n0.1.0 (2020-06-01)\n------------------\n\n- Initial release.\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "A Django Management Command to rename existing Django Applications.",
"version": "0.1.7",
"project_urls": {
"Homepage": "https://github.com/odwyersoftware/django-rename-app"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b34b6a15f0a25003f7c563218722ee02968f008bedbc4e9d0c08fe9344421d5c",
"md5": "b50f8a49636af84b7ce4212b58dc9f0b",
"sha256": "68ed0dbc9fc167b72cf2f3ba6b464d7981a42a0e09070476cf94f1f603f7a433"
},
"downloads": -1,
"filename": "django_rename_app-0.1.7-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b50f8a49636af84b7ce4212b58dc9f0b",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8455,
"upload_time": "2023-11-08T08:22:03",
"upload_time_iso_8601": "2023-11-08T08:22:03.782680Z",
"url": "https://files.pythonhosted.org/packages/b3/4b/6a15f0a25003f7c563218722ee02968f008bedbc4e9d0c08fe9344421d5c/django_rename_app-0.1.7-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "70f60cb0c7169584e8f87c229e6336ce98f90cbb911ae374e2a7683c25e872b4",
"md5": "a180193797e9068827e08c5e3ce6d972",
"sha256": "f1236dacfbaf06d63aa53a665333c9e0b4943ef41019aae7626dd5fb5ffa69b5"
},
"downloads": -1,
"filename": "django_rename_app-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "a180193797e9068827e08c5e3ce6d972",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8291,
"upload_time": "2023-11-08T08:22:05",
"upload_time_iso_8601": "2023-11-08T08:22:05.250543Z",
"url": "https://files.pythonhosted.org/packages/70/f6/0cb0c7169584e8f87c229e6336ce98f90cbb911ae374e2a7683c25e872b4/django_rename_app-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-08 08:22:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "odwyersoftware",
"github_project": "django-rename-app",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "django-rename-app"
}