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.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.3.tar.gz (3.3 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.3-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: django_rename_app-0.1.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for django_rename_app-0.1.3.tar.gz
Algorithm Hash digest
SHA256 195d2fa09eec8ed57577f7bf57a3c6944bdb6447fe47c07be0e575fb2e325742
MD5 2bf7feb9def37cdff93ceb3399d40ebd
BLAKE2b-256 7f7f6d92688f901f31bfb8675b696c3aaea476ea61357c8f4fd3dea295610f1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_rename_app-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for django_rename_app-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bba31d33de4614124e2cd2f22fcea07b2affbbb2cf877a26893e0c15465fbfab
MD5 9c0099a0dd776ebc5431eda37c33923e
BLAKE2b-256 0459954ee796c9e81ede401163a212d9c4e009dd8bf82a645dedd2bca4e63572

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