1
You are doing nothing wrong. The command Post.objects.filter(published_date__isnull=False)
means if there is any post where published_date is not null, and it returns empty list means all posts have null published_date.
EDIT
Restart your shell and see if you get any data with Post.objects.filter(published_date__isnull=False)
Source:stackexchange.com