| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-04 | Router: Do not automatically adjust lookup_regex when trailing_slash is True | Paul Melnikow | |
| BREAKING CHANGE When trailing_slash is set to True, the router no longer will adjust the lookup regex to allow it to include periods. To simulate the old behavior, the programmer should specify `lookup_regex = '[^/]+'` on the viewset. https://github.com/tomchristie/django-rest-framework/pull/1328#issuecomment-31517099 | |||
| 2014-01-04 | Allow viewset to specify lookup value regex for routing | Paul Melnikow | |
| This patch allows a viewset to define a pattern for its lookup field, which the router will honor. Without this patch, any characters are allowed in the lookup field, and overriding this behavior requires subclassing router and copying and pasting the implementation of get_lookup_regex. It's possible it would be better to remove this functionality from the routers and simply expose a parameter to get_lookup_regex which allows overriding the lookup_regex. That way the viewset config logic could be in the a subclass, which could invoke the super method directly. I'm using this now for PostgreSQL UUID fields using https://github.com/dcramer/django-uuidfield . Without this patch, that field passes the lookup string to the database driver, which raises a DataError to complain about the invalid UUID. It's possible the field ought to signal this error in a different way, which could obviate the need to specify a pattern. | |||
| 2013-12-23 | Merge branch 'bennbollay-patch-1' into 2.4.0 | Tom Christie | |
| Conflicts: .travis.yml docs/api-guide/routers.md rest_framework/compat.py tox.ini | |||
| 2013-12-23 | Back out permissions example change in favor of easier to follow example | Tom Christie | |
| 2013-12-23 | Simplified some examples in tutorial | amatellanes | |
| 2013-12-23 | Revert "Simplified some examples in tutorial" | amatellanes | |
| This reverts commit d6806340e54408858da4b2dc991be99edd65df76. | |||
| 2013-12-23 | Simplified some examples in tutorial | amatellanes | |
| 2013-12-21 | Added example of using APIException class. Closes #1300 | Tom Christie | |
| 2013-12-21 | Docs tweaks | Tom Christie | |
| 2013-12-21 | Added links to djangorestframework-camel-case in the third party | Vitaly Babiy | |
| sections of the docs for both parsers and renderers. | |||
| 2013-12-17 | Add note on compat import in tutorial | Tom Christie | |
| 2013-12-17 | Use the BytesIO for buffering bytes and import the one from the compat module. | Xavier Ordoquy | |
| 2013-12-16 | Typo | Tom Christie | |
| 2013-12-14 | Add note on pagination bugfix. Closes #1293. | Tom Christie | |
| 2013-12-13 | Added @philipforget for work on #1232. Thanks :) | Tom Christie | |
| 2013-12-13 | Updated release notes | Tom Christie | |
| 2013-12-13 | Links to drf-nested-routers | Tom Christie | |
| 2013-12-13 | Update release notes | Tom Christie | |
| 2013-12-13 | Merge branch 'master' into 2.4.0 | Tom Christie | |
| Conflicts: .travis.yml docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/compat.py | |||
| 2013-12-13 | Expanded notes in quickstart. Closes #1127. Closes #1128. | Tom Christie | |
| 2013-12-13 | Merge branch 'master' of https://github.com/tomchristie/django-rest-framework | Tom Christie | |
| Conflicts: docs/api-guide/routers.md | |||
| 2013-12-12 | third-party package: wq.db | S. Andrew Sheppard | |
| 2013-12-13 | Further docs tweaks | Tom Christie | |
| 2013-12-13 | Allow NUM_PROXIES=0 and include more docs | Tom Christie | |
| 2013-12-12 | Add third party packages | Tom Christie | |
| 2013-12-11 | Use get_user_model instead of User in Generating Tokens example | OddBloke | |
| Because that's a better way of doing it. | |||
| 2013-12-11 | Add full required imports to Generating Tokens example | OddBloke | |
| Previously we were missing User and post_save. | |||
| 2013-12-10 | Update routers.md | David Ray | |
| Reference to ```DefaultRouter``` should be ```SimpleRouter``` | |||
| 2013-12-10 | Remove incorrect apostrophe | Tom Christie | |
| 2013-12-10 | Update release notes | Tom Christie | |
| 2013-12-10 | Tweak REST condition text. | Tom Christie | |
| 2013-12-09 | Added REST Condition to 3rd party permissions packages list. | Maxim Kamenkov | |
| 2013-12-09 | Merge pull request #1277 from Ian-Foote/master | Tom Christie | |
| Fix typo "Not" -> "Note" | |||
| 2013-12-09 | Fix typo "Not" -> "Note" | Ian | |
| 2013-12-09 | Update release notes | Tom Christie | |
| 2013-12-09 | Add notes to contributing docs | Tom Christie | |
| 2013-12-09 | Add notes to contributing docs | Tom Christie | |
| 2013-12-09 | Add notes to contributing docs | Tom Christie | |
| 2013-12-09 | Add notes to contributing docs | Tom Christie | |
| 2013-12-08 | Merge pull request #1275 from qooleot/master | Tom Christie | |
| RelatedField is function of serializer class | |||
| 2013-12-08 | Minor grammar fix -- 'team' is singular | Rustam Lalkaka | |
| 2013-12-08 | RelatedField is function of serializer class | taras | |
| 2013-12-06 | update installation example to work with django 1.6 | Andy Wilson | |
| looks like django.conf.urls.defaults was deprecated as of django 1.6 | |||
| 2013-12-06 | Add missing tick marks | kahnjw | |
| 2013-12-06 | Fix typo | kahnjw | |
| 2013-12-06 | Add documentation to explain what effect these changes have. | kahnjw | |
| 2013-12-06 | Version 2.3.102.3.10 | Tom Christie | |
| 2013-12-06 | Update release-notes.md | Tom Christie | |
| 2013-12-06 | Added @chuckharmston for kickass bug squashing in #1272 | Tom Christie | |
| 2013-12-05 | Upgrade JSONP security warning. | Tom Christie | |
