From: alexpdp7 Date: Fri, 21 Feb 2025 15:03:13 +0000 (+0000) Subject: Add note about database development command X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=b1aa14fbfa8f7bca4f6c39ea50f4c7d65f7006f5;p=alex.git Add note about database development command --- 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: