| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-08-07 | Updated documentation for urls.py | Kevin 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-07 | remove dep on python_2_unicode_compatible | Paul Oswald | |
| python_2_unicode_compatible is not available in all Django versions | |||
| 2014-08-06 | Update description of OrderingFilter | Kevin London | |
| I added a brief description of how you could specify a different query parameter for the OrderingFilter. | |||
| 2014-08-05 | Remove duplicate class attributes | Jason Alan Palmer | |
| These duplicate attributes are ignored by at least Firefox and Chrome, so this change has no effect on the style | |||
| 2014-08-01 | Leave status responsibility to parent class | Anler 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-29 | evaluate content at function start | Paul Oswald | |
| 2014-07-29 | Better fix for the Django 1.3 compat | Xavier Ordoquy | |
| 2014-07-29 | Fixed the Django 1.3 compat | Xavier Ordoquy | |
| 2014-07-29 | Fixed the cache issue with Django 1.7 rc* | Xavier Ordoquy | |
| 2014-07-28 | Issue #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-28 | Evaluate content before passing to regex.sub | Paul Oswald | |
| Issue #1708 | |||
| 2014-07-28 | Merge remote-tracking branch 'reference/master' | Xavier Ordoquy | |
| 2014-07-28 | Fix #1712 (issue when django-guardian is installed but not configured/used) | Xavier Ordoquy | |
| 2014-07-26 | Merge remote-tracking branch 'origin/master' into 2.4.0 | Xavier Ordoquy | |
| Conflicts: rest_framework/fields.py | |||
| 2014-07-25 | Updated test docstring related to missing bearer token. | Ron Cohen | |
| 2014-07-25 | Sending "Bearer" and "Bearer " resulted in a 500. | Ron Cohen | |
| 2014-06-27 | Merge branch 'master' into modelserialization-charfield-with-null | Serhiy Voyt | |
| 2014-06-24 | Merge branch '2.4.0' of github.com:tomchristie/django-rest-framework into #1559 | Carlton Gibson | |
| Conflicts: docs/topics/release-notes.md | |||
| 2014-06-24 | Added (first pass) notes to docs & release notes. Backed out ↵ | Carlton Gibson | |
| `SOUTH_MIGRATION_MODULES` setting from `rest_framework.settings` | |||
| 2014-06-23 | Allow use of native migrations in 1.7 | Carlton Gibson | |
| 2014-06-23 | Merge remote-tracking branch 'origin/master' into 2.4.0 | Xavier Ordoquy | |
| Conflicts: .travis.yml docs/api-guide/viewsets.md rest_framework/serializers.py rest_framework/throttling.py tests/test_generics.py tests/test_serializers.py tox.ini | |||
| 2014-06-16 | typo in the docs | TankorSmash | |
| 2014-06-13 | Refactor login template to extend base. | Walt Javins | |
| While experimenting with extending DRF, I found that the login page 1) had no title, and 2) duplicated <head> info from base.html. This change adds a new {% block body %} to the base.html template which allows override of the entire html <body>. login_base.html has its duplicated head info stripped, and now extends base.html to share common html <head> templating. As part of this change, pretify.css is unnecessarily added to login_base.html. If this is deemed a problem, it will be easy to block that css out, and have login_base.html override the block. Ideally, I would have liked to create a new api_base.html that extends base.html, move the api specific logic into that template, and leave base.html content agnostic, to truely be a unifying base for all DRF pages. But this change would break current apps that override api.html and expect base.html to be the immediate super template. :/ This change is benificial because it: - removes duplication of header declarations (mostly css includes) - adds a html title to the login page - standardizes html header info across all DRF pages Docs are updated to reflect the new structure. | |||
| 2014-06-12 | Version 2.3.14 | Tom Christie | |
| 2014-06-08 | Fixed #1624 (thanks @abraithwaite) | Xavier Ordoquy | |
| 2014-06-05 | Replace ChoiceField type_label | khamaileon | |
| 2014-05-30 | Always use specified content type in APIRequestFactory | Danilo Bargen | |
| If `content_type` is specified in the `APIRequestFactory`, always include it in the request, even if data is empty. | |||
| 2014-05-26 | Add the allow_add_remove parameter to the get_serializer method | khamaileon | |
| 2014-05-22 | Fix _resolve_model to work with unicode strings | Piper Merriam | |
| 2014-05-22 | fields: allow help_text on SerializerMethodField | John Spray | |
| ...by passing through any extra *args and **kwargs to the parent constructor. Previously one couldn't assign help_text to a SerializerMethodField during construction. | |||
| 2014-05-20 | Merge pull request #1536 from Ian-Foote/choicefield_blank_display_value | Tom Christie | |
| Allow customising ChoiceField blank display value | |||
| 2014-05-19 | fix pep8 | allenhu | |
| 2014-05-16 | Added missing import. | Xavier Ordoquy | |
| 2014-05-16 | Fixed tests for python 3.4 | Xavier Ordoquy | |
| 2014-05-09 | Merge pull request #1564 from alumni/master | Carlton Gibson | |
| Fixes #1535 (HTML widget missing `id` attribute) | |||
| 2014-05-08 | Updated failing test from #1575 | Carlton Gibson | |
| 2014-05-08 | Merge pull request #1575 from ewdicus/iso8601 | Carlton Gibson | |
| Add colon to time zone offset in readable_datetime_formats | |||
| 2014-05-07 | Add colon to time zone offset in readable_datetime_formats | Elliott | |
| 2014-05-07 | Fixed test. | Serhiy Voyt | |
| 2014-05-07 | In case of None value returns empty string instead of NoneType. | Serhiy Voyt | |
| 2014-05-06 | Charfied from_native method returns default instead of None. Updated tests. | Serhiy Voyt | |
| 2014-05-06 | Extended test with case of saveing model with blank not null field. | Serhiy Voyt | |
| 2014-05-06 | Added test case to check if the proper attributes are set on html widgets. | Lucian Mocanu | |
| 2014-05-06 | Merge pull request #1485 from Atrasoftware/master | Carlton Gibson | |
| Use help_text, verbose_name, editable attributes for related fields | |||
| 2014-05-04 | Automatically set the field name as value for the HTML `id` attribute on the ↵ | Lucian Mocanu | |
| rendered widget. | |||
| 2014-05-02 | Fix missing message in ValidationError | Charlie Denton | |
| 2014-05-01 | Mark strings in AuthTokenSerializer as translatable | Charlie Denton | |
| 2014-05-01 | Merge remote-tracking branch 'reference/2.4.0' into feature/pytest | Xavier Ordoquy | |
| Conflicts: rest_framework/runtests/urls.py tests/test_response.py tox.ini | |||
| 2014-05-01 | Fixed new default for many | Xavier Ordoquy | |
| 2014-05-01 | Fixed new default for many | Xavier Ordoquy | |
