django-rest-framework/djangorestframework
Mjumbe Wawatu Poe 9c007a6197 Fix the tests on 1.3 and HEAD
In the latest Django master code, RequestFactory.put behaves fundamentally differently than it did pre-1.5.  By default, it expects an octet string as opposed to a dictionary that it will encode like a multipart form.  So, for 1.5 and on, we have to be explicit about the multipart type and pre-encode the data.  However, pre-1.5 Django expects a dictionary if the content type is multipart.  So, the cleanest thing to do is explicitly handle the versions independently.
2012-09-07 19:14:20 -04:00
..
runtests Clean up runcoverage 2012-09-05 10:57:17 +01:00
static/djangorestframework/css Move stylesheet references to the new relative namespace 2012-02-14 14:50:11 +09:00
templates/djangorestframework Fixing up browseable API for rest framework 2 2012-09-07 10:41:16 +01:00
templatetags Optional login/logout tags so browseable API will work without requiring auth views 2012-09-07 10:20:25 +01:00
tests Fix the tests on 1.3 and HEAD 2012-09-07 19:14:20 -04:00
utils Fix Django 1.3 compatibility 2012-09-07 17:05:21 -04:00
__init__.py Probably will be versioned as 2.0.0 2012-08-29 20:00:02 +01:00
authentication.py Add support for request.auth 2012-09-06 14:50:43 +01:00
compat.py Fix Django 1.3 compatibility 2012-09-07 17:05:21 -04:00
decorators.py Add coverage to travis config 2012-09-07 13:35:57 +01:00
exceptions.py Refactoring some basics 2012-09-06 13:49:15 +01:00
fields.py Fix Django 1.3 compatibility 2012-09-07 17:05:21 -04:00
generics.py Bits of cleanup 2012-09-07 09:36:52 +01:00
mixins.py Fix method overloading 2012-09-07 10:57:04 +01:00
models.py Revert unwanted checkin of models.py 2011-03-03 09:05:27 +00:00
parsers.py Refactored throttling 2012-09-04 21:58:35 +01:00
permissions.py Refactoring some basics 2012-09-06 13:49:15 +01:00
renderers.py Fixing up browseable API for rest framework 2 2012-09-07 10:41:16 +01:00
request.py Fix method overloading 2012-09-07 10:57:04 +01:00
response.py Basic support for format suffixes 2012-09-07 11:12:24 +01:00
reverse.py Massive merge 2012-02-25 18:45:17 +00:00
serializers.py Added serializers and fields 2012-08-28 15:46:38 +01:00
settings.py Fix Django 1.3 compatibility 2012-09-07 17:05:21 -04:00
status.py Add status codes as per RFC 6585 2012-08-26 22:37:21 +01:00
throttling.py Refactored throttling 2012-09-04 21:58:35 +01:00
urlpatterns.py Bits of cleanup 2012-09-07 09:36:52 +01:00
urls.py Bits of cleanup 2012-09-04 12:02:05 +01:00
views.py Basic support for format suffixes 2012-09-07 11:12:24 +01:00