[Django]-How to Edit a Database Table Following a Django App Name Change

4👍

You need to go to the database table manually, or use dbshell.

> ./manage.py dbshell #opens the database command line.

This places you in the command line

$> UPDATE django_content_type SET app_label='<new_label>' WHERE app_label='<old_label>'
$> <ctrl>-D

This is make you all set. You dont need to do anything else on the heroku side apart from this change.

Leave a comment