[Answered ]-In Django, how does one determine whether a business logic regarding user inputs goes into to model or form?

2👍

Can it never go above $1000? Then put the validation in the model.

A reason to put the validation in the form is if you want your users to enter a price below $1000 most of the time, but occasionally an administrator may enter a higher price through a different view.

Leave a comment