It's probably better to use self.get_or_create instead of ThumbnailOption.objects.get_or_create.