is it empty like " "  or is it null?

customer.objects.filter(serial__isnull=True)

HTH

On Apr 28, 9:16 am, equalium <[email protected]> wrote:
> Hello, I'm new to django. I want to retrieve a record of Customers
> with an empty serial field.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to