Skip to main content

A Django Management Command to rename existing Django Applications.

Project description

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.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.

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_rename_app-0.1.5.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_rename_app-0.1.5-py2.py3-none-any.whl (7.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django_rename_app-0.1.5.tar.gz.

File metadata

  • Download URL: django_rename_app-0.1.5.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for django_rename_app-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b827c6685c98c9ddaa272c0ce6d186edef706afd2f8824401d0151eb7d25a37d
MD5 3e31dc0fe0432aa6e8e4616f46124941
BLAKE2b-256 8b1cc11de81624cbe51805bee6fe7b5db3c6322a8ee1f982ab62bec8ea4d1f21

See more details on using hashes here.

File details

Details for the file django_rename_app-0.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_rename_app-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2ad462d2cf2946ca25b633a9f671cfb71c6fa2ba9b7f7f261815a2f4681ca14c
MD5 7f3200fd6e5faab74d85de6d12c4d7c8
BLAKE2b-256 89f7a3c36b346cd60b605eb885e3950df487dd9f6b97a361aca5917f03ffdde2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page