Cannot use QuerySet for "Product": Use a QuerySet for "Item".

What do you think the issue might be here?

  • On what type of object can you use the .exists function?

  • What type of object does .get return?

See the appropriate sections of QuerySet API reference | Django documentation | Django for more detailed information.

1 Like