hjwp / Book-TDD-Web-Dev-Python

Book - TDD web dev with Python
https://www.obeythetestinggoat.com
Other
484 stars 175 forks source link

Update chapter 15 #246

Closed Xronophobe closed 3 months ago

Xronophobe commented 4 months ago

I removed the Queryset Ordering since the problem introducing the topic no longer shows up. Suggesting a good article about migration strategies and customizing migration scripts would be great in a footnote, but I haven't found any. I was thinking whether I should write one myself, but I decided not to: probably it's beyond the scope of this chapter (it's called Advanced Forms after all) and deciding what strategy to use would require further discussions anyway. Finally, I had to re-add the custom <input> to the html template. Conditionally adding classes seemed to be the easiest done this way, and we need that to display the error.