mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 06:45:00 +00:00
add link to better forms - online edit of handbook/troggle/trogdjango.html
This commit is contained in:
@@ -91,9 +91,9 @@ and also much more about the manipulation of QuerySets:
|
||||
<p>Some of the more bizarre data model structures are probably fossils from Django v0.6, e.g. the separate classes that join Entrances to Caves. We haven't got to the bottom of all these yet.
|
||||
|
||||
<h4>Django Forms</h4>
|
||||
<p>TLDR: Just don't.
|
||||
https://www.loopwerk.io/articles/2025/django-views/?utm_source=www.pythonweekly.com&utm_medium=newsletter&utm_campaign=python-weekly-issue-712-september-4-2025&_bhlid=6ece59f0c3de24278c50871556723844d8ab734a
|
||||
Django has several generations of quite different clever mechanisms to make creating HTML forms "easier". Yes, making them might be easier, but maintaining this opinionated stuff is a nightmare. Really don't.
|
||||
<p>TLDR: Just don't. See
|
||||
<a href="https://www.loopwerk.io/articles/2025/django-views/?utm_source=www.pythonweekly.com&utm_medium=newsletter&utm_campaign=python-weekly-issue-712-september-4-2025&_bhlid=6ece59f0c3de24278c50871556723844d8ab734a">How I write Django views</a>
|
||||
Django has several generations of quite different clever mechanisms to make creating HTML forms "easier". Yes, making them might be easier, but maintaining this opinionated stuff is a nightmare. Really don't: "That’s 11 methods spread across 5 classes and mixins. Debugging a view or figuring out exactly which method to override to make the view behave in a certain way quickly becomes a case of opening way too many files and jumping back and forth between different method declarations. It’s just too much."
|
||||
<p>OK a form is broken or inadequate, so are you feeling confident? Are you adequately caffinated? Then a new adventure begins... <a href="trogforms.html">Troggle and HTML forms</a>.
|
||||
<hr />
|
||||
Go on to: <a href="trogdjangup.html">Troggle: updating Django</a><br />
|
||||
|
||||
Reference in New Issue
Block a user