aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2014-09-03Version 2.4.22.4.2Tom Christie
2014-09-03remove rogue printMichał Jaworski
2014-09-03Use explicit many=True for object_serializer instantiation in ↵Michał Jaworski
PaginationSerializer and add catch dummy 'many' kwarg on DefaultObjectSerializer
2014-09-01Merge pull request #1816 from carltongibson/regression-login-templateCarlton Gibson
Regression for #1810: Test login view renders
2014-09-01Version 2.4.12.4.1Tom Christie
2014-09-01Regression for #1810: Test login view rendersCarlton Gibson
2014-08-30Restore body block to base template.Daniel Roseman
2014-08-292.4 Release notes2.4.0Tom Christie
2014-08-29Merge pull request #1784 from tomchristie/remove-model-attributeTom Christie
Deprecate `.model` attribute on views
2014-08-28Validation errors in the rendered HTML fixedCezar Pendarovski
2014-08-27Put all TextNodes (method names) back to same line with parent elementCezar Pendarovski
2014-08-25Merge remote-tracking branch 'upstream/master' into fix-1719Cezar Pendarovski
Conflicts: rest_framework/templates/rest_framework/base.html
2014-08-22Made all color declarations in bootstrap-tweaks.css consistentCezar Pendarovski
2014-08-22Fixed the issue with the non-draggable horizontal scrollbarCezar Pendarovski
2014-08-20Deprecate .model in related routers/permissionsTom Christie
2014-08-20Merge branch 'master' into set-retry-afterDmitry Mukhin
Conflicts: tests/test_throttling.py
2014-08-20Deprecate .model attribute on viewsTom Christie
2014-08-20Fix cache_throttle typoTom Christie
2014-08-19Drop six from compat. 1.4.2 is now the lowest supported version.Tom Christie
2014-08-19Merge pull request #1778 from linovia/bugfix/1398Tom Christie
Bugfix/1398
2014-08-19Resolve python3 linting issueTom Christie
2014-08-19Resolve linting issuesTom Christie
2014-08-19Code linting and added runtests.pyTom Christie
2014-08-19Merged #1398 against 2.4 branch.Xavier Ordoquy
2014-08-19Merge masterTom Christie
2014-08-18Only set .action attribute in override_method if it already existed on the viewTom Christie
2014-08-18Merge pull request #1763 from fongandrew/patch-1Tom Christie
override_method should substitute action
2014-08-18Merge pull request #1505 from ticosax/test.client.logoutTom Christie
reset stored credentials when call client.logout()
2014-08-18Merge pull request #1641 from javins/login-titleTom Christie
Refactor login template to extend base.
2014-08-18Merge pull request #1726 from ikame/masterTom Christie
Leave status responsibility to parent class
2014-08-18Merge pull request #1654 from carltongibson/1559-take-2Tom Christie
Allow use of native migrations in 1.7 — Take 2
2014-08-18Merge pull request #1772 from tomchristie/fix-1583Tom Christie
Copy filter_backends class attribute before returning it.
2014-08-18Copy filter_backends class attribute before returning it.Tom Christie
2014-08-18Always uppercase X-Http-Method-Override methods. Closes #1718.Tom Christie
2014-08-18Merge pull request #1711 from kdazzle/ModelViewSet-queryset-static-propertyTom Christie
Issue #1707: Add documentation to api-docs.viewsets
2014-08-18Merge pull request #1739 from kevinlondon/patch-3Tom Christie
Updated documentation for urls.py
2014-08-16Fixed action_map being pulled from wrong objectAndrew Fong
2014-08-16override_method should substitute actionAndrew Fong
A view's action is dependent on the request method. When overriding the method (e.g. to generate a form for a POST request on a GET call to the browseable API), the action should be updated as well. Otherwise, viewset functions may be in a weird limbo state where a 'list' action has a POST method.
2014-08-16Add test for SerializerMethodFieldAymeric Derbois
2014-08-13ModelSerializer.restore_object - errors as listJohn Whitlock
When a ValueError is raised in ModelSerializer.restore_object, the error is set to a one-element list, rather than a bare string.
2014-08-11Refactor JSONRenderer slightly for easier overridingTom Christie
2014-08-07Updated documentation for urls.pyKevin London
I made a small change in the order of the documentation for urls.py. I feel it helps make it clear which lines you should add to the root settings.
2014-08-06Update description of OrderingFilterKevin London
I added a brief description of how you could specify a different query parameter for the OrderingFilter.
2014-08-05Remove duplicate class attributesJason Alan Palmer
These duplicate attributes are ignored by at least Firefox and Chrome, so this change has no effect on the style
2014-08-01Leave status responsibility to parent classAnler Hp
Django's `HttpResponse` class checks for the `status` param when it's initialized, if it's `None` it uses the class attribute `status_code` and thanks to that we can do things like: ``` class BadRequest(HttpResponse): status_code = 400 ``` Now, that doesn't work when inheriting from rest-framework's `Response`: ``` class BadRequest(rest_framework.response.Response): status_code = 400 # Bad, it's always ignored ``` Because a default status of `200` is being specified in `rest_framework.response.Response`. I think is more Django-friendly to just leave that status default value to `None` and leave the responsibility of choosing its value to the parent class: `HttpResponse`.
2014-07-29Better fix for the Django 1.3 compatXavier Ordoquy
2014-07-29Fixed the Django 1.3 compatXavier Ordoquy
2014-07-29Fixed the cache issue with Django 1.7 rc*Xavier Ordoquy
2014-07-28Issue #1707 - Add documentation about the caching of `GenericAPIView.queryset`Kyle
to the `queryset` property, `get_queryset()`, and do generic-views.md; remove changes to the viewsets.md documentation from my last commit.
2014-07-28Merge remote-tracking branch 'reference/master'Xavier Ordoquy