From b1aa14fbfa8f7bca4f6c39ea50f4c7d65f7006f5 Mon Sep 17 00:00:00 2001 From: alexpdp7 Date: Fri, 21 Feb 2025 15:03:13 +0000 Subject: [PATCH] Add note about database development command --- programming/python/about_django.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programming/python/about_django.md b/programming/python/about_django.md index b746801..1cf3bd7 100644 --- a/programming/python/about_django.md +++ b/programming/python/about_django.md @@ -89,6 +89,10 @@ However, while developing a Django application, you frequently need to make many In my opinion, if you follow the Django documentation, then you might end up using migrations for those development schema changes. This is awkward and problematic, and there are procedures to develop database changes that work better. +I would like a command that recreates your database, applying unmigrated model changes. +This command could also have hooks to load sample data. +(Likely, Python code and not fixtures.) + ### Django only tackles database-based, server-side-rendered, non highly interactive web applications While certainly a huge amount of applications: -- 2.47.3