Open utterances-bot opened 2 years ago
Hi, thanks for putting this out. I have a question, where does except Person.DoesNotExist: come from? Should this be Profile.DoesNotExist?
Thanks
@nlabrad Thanks for pointing out, Yes you are correct it should be Profile.DoesNotExist
How to use get_or_create in Django?
https://thetldr.tech/how-to-use-get-or-create-in-django/