def _get_entry_form_kwargs(self, *args, **kwargs):
        try:
            app_obj = kwargs.pop('app_obj')
            categories_set = app_obj.categories.all()
        except __HOLE__:
            categories_set = None

        website = self.request.website
        
        if self.request.is_superuser:
            authors_set = website.owners.all()
            authors_choices = [(author.id, author.email) for author in authors_set]        
        else:
            authors_choices = [(self.request.user.pk, self.request.user.email)]

        return {'categories_set': categories_set,
                'authors_choices': authors_choices}
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/page_app/page_blog/wa_actions_views.py/EntryActionAdminDetailView._get_entry_form_kwargs