December 4th, 2022
Flush contenttypes and auth permissions in Django
I was trying to migrate from MySQL to PostgreSQL using loaddata and dumpdata. For this to work, everything needs to be flushed, but the command: Flush everything except the contenttypes and a few other (mainly auth related) tables. So we inevitably end up with conflicts and…
Read More →