all AI news
How Django keeps track of your model classes?
Dec. 5, 2023, 9:14 p.m. | Srikanth
DEV Community dev.to
I have ran the python manage.py makemigrations
command several hundreds of times. Recently I had a surge of curiousity to find out how does django detect changes and generate migration files for an app.
I needed many answers but one of the first question I had was "How does Django keep track of my model classes?"
In Django, the creation of model classes is fundamental to mapping your application's data model to a database. These model classes inherit from Django's …
app command django files generate migration opensource programming python
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Software Engineer, Data Tools - Full Stack
@ DoorDash | Pune, India
Senior Data Analyst
@ Artsy | New York City