Added code in StateModel's save method to set publish_date_time to timezone.now() if not set and state is set to 'published'