how to check if a field is blank in django model code example Example: django check if model field is empty Frame.objects.filter(asset_id__isnull=True)