Posts by Leonardo Monsuete • 21 points
2 posts
-
-1
votes1
answer900
viewsQ: Attributeerror: 'list' Object has no attribute '_meta'
I’m trying to edit an object but I’m not being able to instantiate it by the desired id filter to show in my form and edit. Django 2.1.15 Python 3.8.1 my views.py def Alterar_Pessoa(request, id):…
-
2
votes1
answer1301
viewsQ: 'Model' Object is not iterable
As soon as I click on a button that calls my view to edit the Row of the table in question shows me the error: 'Meumodel' Object is not iterable. I’m using Django 2.1.15 Python 3.8.1 SQL server…