Skip to content

Instantly share code, notes, and snippets.

@moacirmoda

moacirmoda/sample.py

Created Aug 10, 2018
Embed
What would you like to do?
try:
Person.objects.get(id=1)
except Person.DoesNotExists:
print('não existe')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.