equal
deleted
inserted
replaced
391 identification information and contact information. |
391 identification information and contact information. |
392 """ |
392 """ |
393 |
393 |
394 get_dict = request.GET |
394 get_dict = request.GET |
395 |
395 |
396 if not (get_dict.get('limit') or get_dict.get('offset')): |
396 if not (get_dict.get('limit') and get_dict.get('offset')): |
397 return self.json(request, {}) |
397 return self.json(request, {}) |
398 |
398 |
399 try: |
399 try: |
400 limit = max(0, int(get_dict['limit'])) |
400 limit = max(0, int(get_dict['limit'])) |
401 offset = max(0, int(get_dict['offset'])) |
401 offset = max(0, int(get_dict['offset'])) |