def __init__(self, *args, **kwargs):
        super(AbstractEntryBaseAdminForm, self).__init__(*args, **kwargs)

        # The admin's .save() method fills in a default:
        self.fields['publication_date'].required = False
        try:
            author_field = self.fields['author']
        except __HOLE__:
            pass
        else:
            author_field.required = False
            self.initial.setdefault('author', author_field.user)
dataset/ETHPy150Open edoburu/django-fluent-blogs/fluent_blogs/admin/forms.py/AbstractEntryBaseAdminForm.__init__