"Django migrations, friend or foe? Optimize them for testing" ( 2024 )

Sunday at 11:30, 25 minutes, UD2.218A, UD2.218A, Python Devroom devroom Denny Biasiolli , slides , video

Django migrations are a great tool for keeping track of changes you made to your models over time. After years of changes in a project they can become very numerous and you may notice that it takes a long time to create the test database.

  • inspecting django migration commands
    • makemigrations
    • migrate
    • showmigrations
    • sqlmigrate
  • analyzing test performances
  • optimizing migrations