[Solved]-Cleanest way to delete stale ContentTypes?

26👍

Try this out to remove safely

python manage.py remove_stale_contenttypes

This command is available > Django 1.11

0👍

When migrating your database, you can add --noinput to manage.py like so:

manage.py migrate --noinput

This way, users won’t be asked.

Leave a comment