[Answered ]-Django receiver – DoesNotExist: WidgetList matching query does not exist

1👍

Comparing your traceback and your code, you can find that error happens here:

WidgetList.objects.create(user=instance)

Your model WidgetList doesn’t even have user field, so it’s pretty obvious that you cannot do that. Maybe you were copying & paste the code that caused an error.

1👍

  1. There is no user in your model. Which I see you mean owner.
  2. You will get foreign key ref errors as there is not data. Load some parent data using fixture. That would solve this issue.

Leave a comment