I'm currently reading some of the Django docs and I've come across this
obj, created = Person.objects.get_or_create(first_name='John', last_name='Lennon',
defaults={'birthday': date(1940, 10, 9)})
I'm still learning python in the process. I'm a bit confused with the "obj, created = " part of the code. I assume that both "obj" and "created" perform
Person.objects.get_or_create(first_name='John', last_name='Lennon',
defaults={'birthday': date(1940, 10, 9)})