| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-12 | Add a sanity check to avoid running into unresolved related models. | Dustin Farris | |
| 2014-01-12 | Check the modelfield's class instead | Yuri Prezument | |
| 2014-01-12 | Test for setting allow_none=True for nullable CharFields | Yuri Prezument | |
| 2014-01-12 | Set `allow_none = True` for CharFields with null=True | Yuri Prezument | |
| 2014-01-12 | CharField - add allow_null argument | Yuri Prezument | |
| 2014-01-12 | Possible fix for #1330 | Yuri Prezument | |
| Coerce None to '' in CharField.to_native() | |||
| 2014-01-12 | Regression test for #1330 (Coerce None to '') | Yuri Prezument | |
| 2014-01-09 | Removed useless try/except | Xavier Ordoquy | |
| 2014-01-09 | Test case for #1129 | Xavier Ordoquy | |
| 2014-01-09 | Move serializer import to top-level causes test error | Dustin Farris | |
| 2014-01-09 | Merge pull request #1341 from fredrikmollerstrand/docstring-typo-fix | Tom Christie | |
| fix docstring typos. | |||
| 2014-01-09 | fix docstring typos. | Fredrik Möllerstrand | |
| 2014-01-08 | Testing nested serializers with models that have str foreign key references. | Dustin Farris | |
| 2014-01-08 | Use www.django-rest-framework.org for docs instead of ↵ | Tom Christie | |
| django-rest-framework.org due to issues with naked domains | |||
| 2014-01-06 | Added "nofollow" against docs link. | Tom Christie | |
| 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. | |||
| 2014-01-02 | FIX BaseSerializer.from_native has an altered signature | Steven Cummings | |
| * base classes define it with one parameter * BaseSerializer currently defines a second parameter, which we make optional here for method-dispatch passivity | |||
| 2013-12-23 | fix for genericrelation saving | S. Andrew Sheppard | |
| 2013-12-23 | can't save genericrelations via nested serializers in django 1.6 | S. Andrew Sheppard | |
| 2013-12-23 | Tweak test style | Tom Christie | |
| 2013-12-23 | Updated tests to pass in python 3 | 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-23 | fix url double quoted in Django 1.6 | Yin Jifeng | |
| get_full_path returns unicode, so we use build_absolute_uri which returns iri_to_uri'ed one | |||
| 2013-12-22 | Simplified some functions | amatellanes | |
| 2013-12-21 | Merge pull request #1309 from lukaszb/errors-for-renamed-fields | Tom Christie | |
| Should it be that way? | |||
| 2013-12-21 | Additional test for 'source' behaviour. Refs #1302 | Tom Christie | |
| 2013-12-21 | Less brittle through relationship testing. Closes #1292. | Tom Christie | |
| 2013-12-20 | Should it be that way? | Lukasz Balcerzak | |
| 2013-12-20 | Merge pull request #1308 from lukaszb/missing-custom-validation-method-test | Tom Christie | |
| Added missing custom validation method test | |||
| 2013-12-20 | Added missing custom validation method test | Lukasz Balcerzak | |
| 2013-12-20 | Updated test class name to be unique | Lukasz Balcerzak | |
| 2013-12-16 | Merge branch 'nullbooleanfield_testcase' of ↵ | Tom Christie | |
| git://github.com/dpetzel/django-rest-framework into dpetzel-nullbooleanfield_testcase Conflicts: rest_framework/tests/test_serializer.py | |||
| 2013-12-16 | Merge pull request #1184 from dpetzel/nullbooleanfield_fix | Tom Christie | |
| Fix infered field type for models.NullBooleanField | |||
| 2013-12-16 | Merge pull request #1298 from craigds/fix-nested-serializers-with-renamed-fields | Tom Christie | |
| Fix nested serializers with renamed fields | |||
| 2013-12-16 | Don't import compat.py from authtoken.models. Closes #1297 | Tom Christie | |
| 2013-12-16 | Fix expansion of writable nested serializers where the inner fields have ↵ | Craig de Stigter | |
| source set. | |||
| 2013-12-13 | Compat fixes for django-oauth-plus versions 2.0-2.2.1 | Tom Christie | |
| 2013-12-13 | Merge branch 'master' of git://github.com/philipforget/django-rest-framework ↵ | Tom Christie | |
| into philipforget-master | |||
| 2013-12-13 | Add notes on lookup_prefix argument and why it's there even though unused by ↵ | Tom Christie | |
| the default implementations. | |||
| 2013-12-13 | Merge pull request #1281 from alanjds/router-prefix-patch | Tom Christie | |
| 'lookup_prefix' on SimpleRouter.get_lookup_regex, easing code de-duplication | |||
| 2013-12-13 | Fix default values always being False for browsable API | Kevin Brown | |
| This fixes a bug that was introduced in 28ff6fb [1] for the browsable API, specifically with how it handled default values for boolean fields. Previously, it had a global default for boolean fields set to `False`, which was different than the standard None that was used elsewhere. Because this only needed to be done for the browsable API, a fix was put into place that only set the default to `False` when form data was passed into the serializer. This had the unintended side effect of overriding any default set on the boolean field. This fixes #1101 [2] by only overriding the default if the default is `None`, which is the default for all fields. [1]: https://github.com/tomchristie/django-rest-framework/commit/28ff6fb1ec02b7a04c4a0db54885f3735b6dd43f [2]: https://github.com/tomchristie/django-rest-framework/issues/1101 | |||
| 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 | Clean up implementation | Tom Christie | |
| 2013-12-13 | Merge pull request #1234 from linovia/bugfix/nested_models_without_related_name | Tom Christie | |
| Fixed the nested model serializers in case of the related_name isn’t set... | |||
| 2013-12-13 | Allow NUM_PROXIES=0 and include more docs | Tom Christie | |
| 2013-12-10 | SimpleRouter.get_lookup_regex got lookup_prefix | Alan Justino | |
| This allows @alanjds/drf-nested-routers to not duplicate/monkeypatch work made here | |||
| 2013-12-10 | Refine model manager behavior so as not to use the behavior in incorrect ↵ | Tom Christie | |
| cases. Closes #1205 | |||
| 2013-12-09 | Fix compat issues for #1231 | Tom Christie | |
| 2013-12-09 | Merge branch 'issue-1231-jsonencoder' of ↵ | Tom Christie | |
| git://github.com/mbox/django-rest-framework into mbox-issue-1231-jsonencoder | |||
