This content originally appeared on DEV Community and was authored by Joe ???????
Django migrations take your Python models and create real database tables.
1. Create Migrations
Run:
python manage.py makemigrations tracker
2. Apply Migrations
Run:
python manage.py migrate
3. What Just Happened?
- The
CategoryandTransactiontables are now in your database! - Django tracks changes for future updates.
Next: manage your data easily with Django admin.
This content originally appeared on DEV Community and was authored by Joe ???????
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.
APA
MLA
Joe ??????? | Sciencx (2025-09-11T21:58:42+00:00) Django Migrations: Turning Models Into Database Tables. Retrieved from https://www.scien.cx/2025/09/11/django-migrations-turning-models-into-database-tables/
" » Django Migrations: Turning Models Into Database Tables." Joe ??????? | Sciencx - Thursday September 11, 2025, https://www.scien.cx/2025/09/11/django-migrations-turning-models-into-database-tables/
HARVARDJoe ??????? | Sciencx Thursday September 11, 2025 » Django Migrations: Turning Models Into Database Tables., viewed ,<https://www.scien.cx/2025/09/11/django-migrations-turning-models-into-database-tables/>
VANCOUVERJoe ??????? | Sciencx - » Django Migrations: Turning Models Into Database Tables. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/09/11/django-migrations-turning-models-into-database-tables/
CHICAGO" » Django Migrations: Turning Models Into Database Tables." Joe ??????? | Sciencx - Accessed . https://www.scien.cx/2025/09/11/django-migrations-turning-models-into-database-tables/
IEEE" » Django Migrations: Turning Models Into Database Tables." Joe ??????? | Sciencx [Online]. Available: https://www.scien.cx/2025/09/11/django-migrations-turning-models-into-database-tables/. [Accessed: ]
rf:citation » Django Migrations: Turning Models Into Database Tables | Joe ??????? | Sciencx | https://www.scien.cx/2025/09/11/django-migrations-turning-models-into-database-tables/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.