def __init__(self, *args, **kwargs):
    self.site = kwargs.pop('site')
    kwargs['queryset'] = self.get_undelete_queryset(kwargs['queryset'])
    return super(UndeleteField, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
    self.site = kwargs.pop('site')
    kwargs['queryset'] = self.get_undelete_queryset(kwargs['queryset'])
    return super(UndeleteField, self).__init__(*args, **kwargs)