Ok thanks is there a way to call all objects, as this is more user friendly
and efficient when potentially editing many object fields?
On Sun, 18 Aug 2019 at 18:05, Daniel Roseman wrote:
> You can't pass *all* the objects to the form. You have to get the specific
> one you want to edit and pass
You can't pass *all* the objects to the form. You have to get the specific one
you want to edit and pass that as the instance.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
Hi,
New to Django but trying to stick with it.
I have created a model form, which creates ok.
I am trying to edit records. I have the following, but keep getting the
QuerySet object has no attribute '_meta' in the browser.
my views.py
def editbusiness(request):
data =
3 matches
Mail list logo