Mjumbe Wawatu Ukweli
354fbc64ba
Group the model-inheritance-related tests together
2013-03-11 17:28:55 -04:00
Mjumbe Wawatu Ukweli
bdcecf48e3
Simplify inherited child check to not use isinstance
2013-03-11 16:01:19 -04:00
Mjumbe Wawatu Ukweli
e7e470739f
Use parent's primary key when model is derived via multitable inheritance
2013-03-11 03:23:44 -04:00
Tom Christie
2088023293
Update release notes
2013-03-10 20:39:04 +00:00
Tom Christie
0df008dc83
Added @bouke for bug fix #722 . Thanks!
2013-03-10 20:37:15 +00:00
Tom Christie
99b18d7485
Merge pull request #722 from Bouke/patch-1
...
PrimaryKeyRelatedField with OneToOneField serializes wrong object's id
2013-03-10 13:34:02 -07:00
Bouke Haarsma
126a0f739d
Fixed #720
2013-03-10 21:02:34 +01:00
Bouke Haarsma
3cd3235881
Failing test to show problem of #720
2013-03-10 21:01:51 +01:00
Pierre Dulac
eec8efafc3
Add the implementation for TokenHasReadWriteScope permissions w/ oauth 1
2013-03-10 14:40:20 +01:00
Pierre Dulac
e03906a5c4
Add TokenHasReadWriteScope class for permissions based on scopes
2013-03-10 14:08:29 +01:00
Tom Christie
239758e034
Serializers support bulk create.
2013-03-09 10:21:53 +00:00
Tom Christie
a34f45b06e
Docs polishing.
2013-03-09 00:31:19 +00:00
Tom Christie
2c6c5d966e
Update release notes.
2013-03-08 23:49:27 +00:00
Tom Christie
69d169f5f6
Neater override hooks and more docs for DjangoModelPermissions.
...
Refs #702 .
2013-03-08 23:42:20 +00:00
Tom Christie
fd9d6c664b
Fix crazy typo.
2013-03-08 23:08:55 +00:00
Tom Christie
5e993f3929
Merge
2013-03-08 23:00:23 +00:00
Tom Christie
2596c12a21
Fixes for auth header checking.
2013-03-08 22:56:24 +00:00
Tom Christie
6c1fcc855a
Update release notes
2013-03-08 22:46:37 +00:00
Tom Christie
775b4314ed
Merge pull request #716 from tomchristie/list-deserialization
...
List deserialization
2013-03-08 14:45:25 -08:00
Tom Christie
28ae26466e
Py3k fixes.
2013-03-08 22:43:46 +00:00
Tom Christie
0b6267d8cd
Added @bitmonkey. Thanks!
...
For work on handling errors when deserializing lists of objects.
2013-03-08 22:28:59 +00:00
Tom Christie
68683b2ea2
Tweak implementation, and use FormSet style errors
2013-03-08 22:19:09 +00:00
Tom Christie
53b58a5059
Merge branch 'master' of https://github.com/bitmonkey/django-rest-framework into list-deserialization
2013-03-08 21:20:52 +00:00
Tom Christie
c5b98f0d10
authtoken abstract if not installed.
...
Fixes #705 .
2013-03-08 20:56:30 +00:00
Tom Christie
4d48de631b
Docs on per-object filtering
2013-03-08 20:41:00 +00:00
Tom Christie
1016c14a8a
Added @dulaccc.
...
For the awesome OAuth 2 support in #693 .
2013-03-08 20:26:10 +00:00
Tom Christie
650d8e6a8e
More bits of cleanup
2013-03-08 20:23:25 +00:00
Marc Tamlyn
332c99748f
Add some simple numQueries tests.
2013-03-08 17:36:43 +00:00
Marc Tamlyn
a91dca178d
Correcy typo.
2013-03-08 17:01:43 +00:00
Tom Christie
5fffaf89e2
Merge pull request #711 from toranb/master
...
GenericAPIView now applies filter_backend for list and retrieve api views
2013-03-08 08:15:56 -08:00
toran billups
1a8f07def8
GenericAPIView now applies filter_backend for list and retrieve api views
...
Before this commit only the MultipleObjectAPIView would apply a
filter_backend, leaving the SingleObjectAPIView to return objects you
might otherwise expect to have been filtered out.
It's worth mentioning that when a SingleObjectAPIView makes a request
for an object that should be excluded, a 404 is the expected result.
2013-03-08 10:08:53 -06:00
Ian Dash
66605acaf0
Errors during deserializing lists now return a list of tuples with
...
index of bad item in data plus usual errors dict
2013-03-08 15:08:05 +00:00
Tom Christie
e42e49852d
Tweak docs
2013-03-07 19:49:36 +00:00
Tom Christie
c2eb27629c
Update docs for OAuth 2.0
2013-03-07 17:50:48 +00:00
Tom Christie
a4b33992a5
Merge OAuth2 work.
2013-03-07 17:43:13 +00:00
Tom Christie
1d62594fa9
Clean ups.
2013-03-07 15:44:36 +00:00
Tom Christie
44930f3091
Fix Py3k syntax errors
2013-03-07 09:15:05 +00:00
Tom Christie
4e80541824
Version 2.2.3
2013-03-07 09:05:13 +00:00
Tom Christie
ad336cc636
Fix broken None
value for TimeField
.
...
Refs #707 .
2013-03-07 09:03:53 +00:00
Tom Christie
d4e3610e71
Merge & clean OAuth support
2013-03-07 09:01:53 +00:00
Tom Christie
f5a8f172a3
Merge pull request #708 from kevinastone/master
...
Fixed DateField with Empty Values (Fixes #707 )
2013-03-07 01:01:07 -08:00
Kevin Stone
2f8d8b499e
Patched DateField and DateTimeField to check for None values before trying to perform date(time) conversion.
...
Signed-off-by: Kevin Stone <kevinastone@gmail.com>
2013-03-06 15:16:37 -08:00
Kevin Stone
6bea275de8
Added failing test cases for giving a DateField or DateTimeField a None value to serialize.
...
Signed-off-by: Kevin Stone <kevinastone@gmail.com>
2013-03-06 15:15:19 -08:00
Tom Christie
751064a6fd
Merge pull request #706 from markotibold/clean-install
...
Prevent warning: no files found matching '*.txt' under directory
2013-03-06 14:33:31 -08:00
Pierre Dulac
5a56f92abf
Update the package dependency url style in tox.ini
2013-03-06 22:42:36 +01:00
Pierre Dulac
8845c0be88
Fix import errors
2013-03-06 22:42:09 +01:00
Marko Tibold
1037888505
Prevent warning: no files found matching '*.txt' under directory
...
'rest_framework/templates' (there are only .html files in the templates
directory).
2013-03-06 21:16:40 +01:00
Pierre Dulac
30e3775b8b
Update the documentation
...
with a warning for incompatibility with Python 3
and taking @tomchristie advice into account on how to reformulate some
sentences
2013-03-06 19:16:57 +01:00
Pierre Dulac
cda21a306e
Only add the django-oauth2-provider apps if the module is installed
...
otherwise log a warning
2013-03-06 19:16:13 +01:00
Pierre Dulac
6f5764105b
Use the PyPI django-oauth2-provider version
2013-03-06 19:15:33 +01:00