def __init__(self, *args, **kwargs):
    super(WidgyPageAdminForm, self).__init__(*args, **kwargs)
    self.fields['publish_date'].help_text = _('If you enter a date here, the page will not be viewable on the site until then')
    self.fields['expiry_date'].help_text = _('If you enter a date here, the page will not be viewable after this time')
    if (self.instance.pk is None):
        self.instance.status = CONTENT_STATUS_DRAFT
def __init__(self, *args, **kwargs):
    super(WidgyPageAdminForm, self).__init__(*args, **kwargs)
    self.fields['publish_date'].help_text = _('If you enter a date here, the page will not be viewable on the site until then')
    self.fields['expiry_date'].help_text = _('If you enter a date here, the page will not be viewable after this time')
    if (self.instance.pk is None):
        self.instance.status = CONTENT_STATUS_DRAFT