Django ORM Custom Migration Actions

preview_player
Показать описание
In addition to migrating schema changes, we can use the migrations to change data in the database, or indeed perform other bespoke actions. In this django ORM migration tutorial we us a very simple use case to showcase how to create an empty migration and run a custom function on migration.
Рекомендации по теме
Комментарии
Автор

Please make a complete series on migration as it most important thing in Django

MohdImran-uqiv
Автор

What I want is just half your Django knowledge

guratete
Автор

Videos is not showing only audio running.

RaviKumar-ejos
Автор

Wish I could implement bespoke actions in my daily interactions to simplify my life 😅

GeneralBlorp
Автор

Say I were to make a couple more migrations using Django's auto-generated migration files, would the function from the second migration still run and capitalize the products' names?

vimandmanyothers
Автор

how this function work custom_task is .. can you explain

sm_blogs