Posts tagged: tutorial

django python tutorial models

Scheduled Publishing in Django: Why a Post Hides Itself

This site hides a post unless is_published is True AND published_at is set and in the past. Why? Because a NULL published_at means "never scheduled" — and treating it as "publish now" would surprise you …