0001-fargo-don-t-let-recent-document-cells-crash-on-HTTP-.patch
combo/apps/fargo/models.py | ||
---|---|---|
70 | 70 |
headers={'accept': 'application/json'}) |
71 | 71 |
if response.status_code == 200: |
72 | 72 |
return response.json() |
73 |
return None
|
|
73 |
return {}
|
|
74 | 74 | |
75 | 75 |
def render(self, context): |
76 | 76 |
context.update(self.get_json('api/documents/recently-added/', context)) |
77 |
- |