software engineer, consultant, conference speaker, #tech4good, #stacktivism

The Bajoran Engineer

Python, software, web development, Django, JavaScript, Open Source, Ethics.
Entries for tag "ORM"
Purple animated tech festival promo instagram post (3).png

Django MIGRATION_MODULES

For certain packages like puput or if you're creating your own, you may end up with a migrations directory inside your virtual environment with your package instead of in your app directories. I messed up so you don't have to. TLDR; use MIGRATION_MODULES = {"blog": "blog.db_migrations"} in your settings to avoid the problems I stumbled into.

Check out my potential solution to solve it programmatically and tell me if I'm off base. 👀