python - MultipleObjectsReturned - django -
get() returned more 1 malwares -- returned 2!
is error i'm getting whilst trying write , run lovely django code.
it appears triggered following command
malwares.objects.update_or_create(name=name)
what doing wrong here! i'm happy provide more code other parts of program if aid in resolution of issue.
edit:
probably messed database @ point , causing error, fixed truncating database , allowing repopulate
Comments
Post a Comment