Posts by FELIPE COSTA GOMES • 1 point
2 posts
-
0
votes1
answer25
viewsA: Error in the user’s Manytomanyfield link
I set the filter on Forms and it worked. It stayed that way: self.fields['cc_cadastro_orcamento'].queryset = user.usuario.centrodecusto_usuario.all()
-
-1
votes1
answer25
viewsQ: Error in the user’s Manytomanyfield link
I’ve created a routine where you register a cost center. This cost center is linked through a Manytomanyfield when I register the User. Below the models.py of these registration: user models: class…