django-rename-app
django-rename-app copied to clipboard
A Django Management Command to rename existing Django Applications.
Model names may be changed. Therefore we need to get it from django_content_types table
if some models within old_app have a custom db_table attribute the last step related to ALTER TABLE commands fails because the tables names are built from model name following the...
Add double quotes in SQL query in order to handle cases where tables have uppercase letters in their name. + add some verbosity (i.e. prints) for convenience. Fix: https://github.com/odwyersoftware/django-rename-app/issues/8
Renaming does not seem possible when a table name contains upper case letters; i.e. `psycopg2` doesn't seem to properly handle that case, even so you pass the name within double...
Hi @odwyersoftware, thank you for this package, it really helped me. A nice feature would be just print the commands to the console and then we can simply copy &...
Thanks for this package, it was a big help! One thing I noticed while trying to use it is that the following query was tripping up on models/tables that had...
django.db.utils.OperationalError: (1109, "Unknown table 'sequences' in information_schema"). Sequences are only added in https://mariadb.com/kb/en/information-schema-sequences-table/ version 11.5. Could we put a try /except clause around it?