| 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 | Fuller notes on the 'base_name' argument. Closes #1160. | Tom Christie | |
| 2013-12-23 | Added note on view_name in hyperlinked relationships. Closes #1221 | Tom Christie | |
| 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-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-13 | Links to drf-nested-routers | 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 | 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 | 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-08 | RelatedField is function of serializer class | taras | |
| 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-05 | Upgrade JSONP security warning. | Tom Christie | |
| 2013-12-04 | fix broken documentation links | Drew Kowalik | |
| 2013-12-04 | Clarify wording, fixes #1133. | Tom Christie | |
| 2013-12-03 | Adds pre_delete and post_delete hooks on | Pablo Recio | |
| 2013-12-02 | Fix TemplateHTMLRenderer example | Stephan Groß | |
| 2013-11-27 | Rephrased documentation changes according to feedback on IRC. | Omer Katz | |
| 2013-11-27 | Recommend using Pillow instead of PIL. | Omer Katz | |
| 2013-11-20 | Update 'default' explanation. Closes #1239 | Tom Christie | |
| 2013-11-15 | Use less specfic language in UltaJSON notes | Tom Christie | |
| 2013-11-11 | Added drf-ujson-renderer to renderers docs | Jacob Haslehurst | |
| drf-ujson-renderer is a third party renderer that implements JSON renderering using UltraJSON | |||
| 2013-11-11 | Typo on api-guide/fields.md and serializers.py | Doğan Çeçen | |
| 2013-10-31 | Updated OAuth2 authentication docs. | erkarl | |
| 2013-10-25 | In the API test client example 'data' was not defined. There's also no | Kit Randel | |
| need to define 'expected' as we can just test against the dict. | |||
| 2013-10-24 | Merge pull request #1199 from yamila-moreno/get-filter-backends | Tom Christie | |
| Added get_filter_backends method | |||
| 2013-10-24 | Added get_filter_backends method | Yamila Moreno | |
| 2013-10-24 | Typo on generic-views.md | Yamila | |
| 2013-10-22 | Small documentation fix | Jacek Bzdak | |
| 2013-10-22 | Merge remote-tracking branch 'origin/master' | Jacek Bzdak | |
| 2013-10-22 | Explained a bit more about django-filter implementation. | Jacek Bzdak | |
| Well, I spent some time trying to gues how djang-filter works, and if this changes would be introduced, I would have saved this time. | |||
| 2013-10-21 | Added . Closes #1188. | Tom Christie | |
| 2013-10-21 | Remove the detail=None from APIException signature | Jesús Espino | |
| The documentation not match with the implementation. The APIException doesn't have detail parameter in the constructor class, actually doesn't have constructor method at all. | |||
| 2013-10-12 | Add missing commas in relations.md | Álvaro Lázaro | |
| 2013-10-09 | Merge pull request #1071 from craigds/field-transform-methods | Carlton Gibson | |
| Feature: add transform_<fieldname> methods to serializers | |||
