When you encounter 'ClassName matching query does not exist' error in Django, it means that somewhere you have such code:
item = ClassName.objects.get(key=value)
but there's no item that satisfies key=value. So it gives this error. Be aware of this. There are some other sites which makes you confuse although this is a very simple error
No comments:
Post a Comment