]> xn--ix-yja.es Git - alex.git/commitdiff
Add note about database development command
authoralexpdp7 <alex@pdp7.net>
Fri, 21 Feb 2025 15:03:13 +0000 (15:03 +0000)
committeralexpdp7 <alex@corcoles.net>
Fri, 21 Feb 2025 15:03:59 +0000 (16:03 +0100)
programming/python/about_django.md

index b746801e0a7ad527f6eaa17e10ade390b0860e13..1cf3bd75aff5b9319946c3543f0edb153a793783 100644 (file)
@@ -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: