Michał Hernas
e26fe4356b
Fixed comments
2016-03-09 16:03:56 +01:00
Michał Hernas
044fefa420
Fixes for Django 1.9
2016-03-08 19:54:30 +01:00
Xavier Ordoquy
647fdb51d2
Release 2.4.8
2015-08-18 07:59:28 +02:00
Xavier Ordoquy
2c31f10f6e
Release 2.4.7
2015-08-16 10:45:42 +02:00
Tom Christie
59be95a0c0
Fix for DjangoObjectPermissionsFilter with Guardian < 1.3
2015-07-28 10:30:40 +01:00
Tom Christie
152035aee7
Cherry picks
...
Upgrade guardian support to 1.3. #3165
2015-07-23 20:37:44 +01:00
Xavier Ordoquy
86f7967a7a
Version 2.4.6
2015-07-08 08:49:59 +02:00
Xavier Ordoquy
9926241afb
Merge pull request #2857 from w-/patch-3
...
increase serializer compatibility to django 1.8
2015-05-04 15:56:58 +02:00
kazmiruk
fad0848b7c
fix flake8 warnings
2015-04-27 10:09:43 +07:00
kazmiruk
7d8c95141c
remove list\tuple changes from PR
2015-04-27 10:02:05 +07:00
kazmiruk
e3522e8aef
move importlib to compat
2015-04-24 22:58:14 +07:00
kazmiruk
be66e15c1c
renaming of OrderedDict back to SortedDict + some comments
2015-04-23 16:29:39 +07:00
kazmiruk
18f1f57846
fixes flake8 warning
2015-04-22 20:58:19 +07:00
kazmiruk
21bac85489
move compatibility checks into compat.py
2015-04-22 20:52:33 +07:00
kazmiruk
1116a534d4
add compatibility for django 1.6
2015-04-22 20:05:10 +07:00
kazmiruk
b3e03cd8e2
fixes broken test + importlib warnings
2015-04-22 19:52:23 +07:00
kazmiruk
47c61679a5
adds backward compatibility
2015-04-22 13:43:16 +07:00
kazmiruk
51650f88b7
fix flake warning
2015-04-22 13:31:49 +07:00
kazmiruk
73978c9560
change SortedDict to OrderedDict
2015-04-22 13:12:12 +07:00
w-
ee109c446a
increase serializer compatibility to django 1.8
...
i ran into this issue when using v2.4 with django v1.8. (i didn't previously read it isn't supported)
It's not in the release notes but django.db.model.Options many_to_many() now returns an ImmutableList which is really just a tuple with a bunch of warnings and hooks on it.
if we don't make this typecast change we get the following error
TypeError: can only concatenate tuple (not "list") to tuple
I'm not sure if this change is appropriate and not sure what, if any, additional tests to include with this .
I attempted to test this but must be doing something wrong.
Every test fails when trying to use cursor. most of the errors I get are
Failed: Database access not allowed, use the "django_db" mark to enable
i followed the instructions here.
https://github.com/tomchristie/django-rest-framework/blob/version-2.4.x/CONTRIBUTING.md
2015-04-21 18:19:33 -07:00
Andy Freeland
f7fc754bc9
Version bump and release notes update for 2.4.5
2015-03-24 15:32:10 -04:00
Tom Christie
9401eccbfa
Escape tab switching cookie
2015-03-23 12:00:49 -04:00
Karol Sikora
83f446fc47
Fixed get_component method in Field to get working with subclassess of collections.Mapping
2014-11-27 13:09:59 +01:00
Tom Christie
650a91ac24
Fix URL escaping
2014-11-03 11:29:48 +00:00
Tom Christie
96bb77dc35
Version 2.4.4
2014-11-03 11:20:18 +00:00
Tom Christie
b5c98f686d
Properly escape URLs when replacing query parameter
2014-11-03 11:10:24 +00:00
Tom Christie
65a0d083d6
Merge pull request #1963 from carljm/lazy-fields
...
Set up serializer fields lazily on-demand.
2014-10-31 16:40:06 +00:00
Tom Christie
5e1ed0aa95
Merge pull request #1922 from JonesChi/fix_follow
...
Fix follow does not work on get of APIRequestFactory
2014-10-31 16:05:17 +00:00
Tom Christie
0b864acd98
Merge pull request #1785 from gdoermann/master
...
Frameworks throws AssertionError saying you cannot set required=True and...
2014-10-31 15:29:06 +00:00
Erik Wickstrom
674855a114
Used Django utils SortedDict instead of stdlib's OrderedDict for
...
wider compatability.
2014-10-20 08:47:45 -07:00
Erik Wickstrom
12b677039d
Maintain order of views on router for api root view.
2014-10-19 21:03:33 -07:00
Carl Meyer
140f8620ae
Set up serializer fields lazily on-demand.
...
This avoids AppRegistryNotReady problems in Django 1.7 with nested serializers,
which are instantiated at import time, possibly before Django's app registry is
fully populated.
2014-10-17 09:50:57 -06:00
Jones Chi
2dfe75c23a
Fix follow does not work on APIClient
...
Handle follow just like Django's Client.
2014-10-06 15:10:35 +08:00
Anton D. Kachalov
802913d5e4
[templates/rest_framework/base.html] Separate object-form' and
generic-content-form' IDs for POST and PUT forms
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2014-09-26 16:07:46 +04:00
José Padilla
e8c01ecdab
Correctly propagate cloned_request for OPTIONS
...
Update to fix pending changes in #1507
2014-09-23 21:12:58 -04:00
Tom Christie
20424251a3
Version 2.4.3
2014-09-19 14:26:28 +01:00
Piper Merriam
7f758d1cf6
Fix missing CSRF exemption on viewsets
2014-09-18 10:30:13 -06:00
Tom Christie
8c8d355e76
Update routers.py
2014-09-17 15:51:17 +01:00
Tom Christie
3376c37861
Merge pull request #1865 from mskrajnowski/default-router-listless-viewset
...
DefaultRouter support for viewsets without an implemented default action
2014-09-17 15:50:12 +01:00
José Padilla
de5fbf7d63
Update initial migration to work on Python 3
2014-09-17 10:23:53 -04:00
José Padilla
a37db382c6
Update authtoken latest Django 1.7 migration
2014-09-17 09:01:49 -04:00
Marek Skrajnowski
ae84438530
Added DefaultRouter support (and test) for viewsets without the default action implemented, which is usually the list action.
2014-09-11 12:42:36 +02:00
Joe Binney
37d01f6088
Fix grammar in login error message
2014-09-10 20:27:52 -07:00
Xavier Ordoquy
015a8122c7
Merge pull request #1852 from GVRV/bugfix/apiroot_get_regression
...
Make sure APIRoot.get can take on args, kwargs so router can be embedded...
2014-09-09 07:19:16 +02:00
Gaurav Dadhania
1a885b9e16
Make sure APIRoot.get can take on args, kwargs so router can be embedded within any URL pattern.
2014-09-09 05:42:52 +05:30
Tom Christie
168710813c
Merge pull request #1844 from adamsc64/issue_1533
...
Fixed #1533 - Resolved issue with integer keys on nested choices never v...
2014-09-08 10:15:26 +01:00
Hamish Campbell
826d76a8c7
Stop the API Client converting empty lists/dicts to empty strings
2014-09-08 12:16:20 +12:00
Christopher Adams
613a301a36
Fixed #1533 - Resolved issue with integer keys on nested choices never validating.
...
- Added unit test for nested `choices` argument.
- Added unit test for non-nested `choices` argument.
2014-09-06 17:13:28 -04:00
Tom Christie
e8fac28d88
Merge pull request #1818 from tituomin/serializer-subclass-mapping
...
Better mapping for custom model fields to serializer fields.
2014-09-06 07:20:31 +01:00
Tom Christie
5bbfef36f4
Merge pull request #1838 from jbittel/fix-encoded-filename-rfc6266
...
Support RFC6266 encoded filenames
2014-09-06 07:13:12 +01:00