dj-webmachine
dj-webmachine copied to clipboard
Django REST layer
`python manage.py migrate` fails on migrating webmachine application. Output: ``` File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 79, in execute return super(CursorDebugWrapper, self).execute(sql, params) File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) File...
There's currently no way to return data along with a status 201 "Created" ( or any other status codes ) beyond manually writing encoders for each provided type and manually...
l17 in decisions.py do: return req.if_modified_since > datetime.datetime.now(UTC) But our 'now' may not be UTC when using django 'TIMZONE' in settings.py. If confirmed, I will try get a fix.
response.status_code is '400 Bad Request' instead of 400 ## Django Test response = self.client.post(self.url_create_user, data, follow=True) self.assertEquals(response.status_code, 400) ## Webmachine resources.py def to_json(self, req, resp): .... raise HTTPBadRequest(resp)
When you use the decorator wm.route on a function to register a new route, the WM implementation of the content_types_provided method can generate a KeyError if the request method is...
Having JSONP support should be great to use the API form other domains.