Skip to content

Commit 1c61c1d

Browse files
Xronophobehjwp
andauthored
Add note on switching back to custom input in the html template
Co-authored-by: Harry Percival <[email protected]>
1 parent dba026b commit 1c61c1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

chapter_15_advanced_forms.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,16 @@ use Django instead, it seems like we need to bring back our custom
827827
as a list item in an unordered list. To avoid that, let's just
828828
select `form.errors.text.0`.
829829
830+
NOTE: Another fliip-flop! We spent most of the last chapter switching from handcrafted html
831+
to having our form autogenerated by django, and now we're switching back.
832+
It's a little frustrating, and I could have gone back and changed the book's text to avoid the back+forth,
833+
but I prefer to show software development as it really is.
834+
We often try things out and end up changing our minds.
835+
Particularly with frameworks like Django,
836+
you can find yourself taking advantage of auto-generated shortcuts for as long as they work,
837+
but at some points you meet the limits of what the framework designers have anticipated,
838+
and it's time to go back to doing the work yourself.
839+
It doesn't mean you should always reinvent the wheel!
830840
831841
Now when we run the FT for validation again:
832842

0 commit comments

Comments
 (0)