Example #1
0
 def element(self, request, elem):
     self.request = request
     return SerializeResponder.element(self, request, elem)   
Example #2
0
 def list(self, request, queryset, page=None):
     self.request = request
     return SerializeResponder.list(self, request, queryset, page)             
Example #3
0
 def __init__(self, model_list = None, paginate_by=None, allow_empty=False):
     self.model_list = model_list
     SerializeResponder.__init__(self, 'xobj', 'text/plain',
                 paginate_by=paginate_by, allow_empty=allow_empty)