Skip to main content

django-rename-app

A Django Management Command to rename existing Django Applications.

PyPI version

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.

Release files for django-rename-app 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-rename-app 0.1.7
File Size Uploaded
django_rename_app-0.1.7.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-rename-app 0.1.7
File Interpreter ABI Platform
django_rename_app-0.1.7-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 16.7 kB

Release files / django_rename_app-0.1.7.tar.gz

Download URL django_rename_app-0.1.7.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f1236dacfbaf06d63aa53a665333c9e0b4943ef41019aae7626dd5fb5ffa69b5
BLAKE2b-256 checksum
How to use checksums
70f60cb0c7169584e8f87c229e6336ce98f90cbb911ae374e2a7683c25e872b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / django_rename_app-0.1.7-py2.py3-none-any.whl

Download URL django_rename_app-0.1.7-py2.py3-none-any.whl
Size 8.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
68ed0dbc9fc167b72cf2f3ba6b464d7981a42a0e09070476cf94f1f603f7a433
BLAKE2b-256 checksum
How to use checksums
b34b6a15f0a25003f7c563218722ee02968f008bedbc4e9d0c08fe9344421d5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page