

def get_form(self, request, obj=None, **kwargs):
    '\n        Use special form during feed creation\n        '
    defaults = {
        
    }
    if (obj is None):
        defaults.update({
            'form': self.add_form,
        })
    defaults.update(kwargs)
    return super(FeedAdmin, self).get_form(request, obj, **defaults)

dataset/ETHPy150Open IanLewis/django-lifestream/lifestream/admin.py FeedAdmin.get_form/original