Revision ab5282e4 api/handlers.py
b/api/handlers.py | ||
---|---|---|
130 | 130 |
@paginator |
131 | 131 |
def read_all(self, request, detail=False): |
132 | 132 |
try: |
133 |
changes_since = request.GET.get("changes_since", 0)
|
|
133 |
changes_since = request.GET.get("changes-since", 0)
|
|
134 | 134 |
if changes_since: |
135 | 135 |
last_update = datetime.fromtimestamp(int(changes_since)) |
136 | 136 |
virtual_servers = VirtualMachine.objects.filter(updated__gt=last_update) |
Also available in: Unified diff