Posts by E-Deslan • 43 points
2 posts
-
3
votes1
answer1765
viewsQ: Django validate Cpf and treat error
I’m using Brcpffield from the localflavors package to validate the CPF in a form, it’s working, the problem is that in the template when I type in an invalid CPF that Django error page appears, I…
-
1
votes0
answers739
viewsQ: Django, change the value of a form field when I select items in another field
I have a form that registers a sale, I select the customer, the employee (seller), and the items (products) sold and I am placing the total value of the sale manually. What I would like is that when…