Tom Christie
558b29e5ff
Added @mjs7231 - Thanks!
2012-11-05 15:38:22 +00:00
Tom Christie
5b397e50dd
Include queryset missing exception on writable SlugField
2012-11-05 10:16:23 +00:00
Tom Christie
362c413f08
Update release notes.
2012-11-05 09:59:35 +00:00
Tom Christie
a4ab4355a6
Added @osiloke. Thanks!
2012-11-05 09:59:35 +00:00
Tom Christie
8c8bf61c13
Merge pull request #365 from osiloke/e74772b8a6d0d9d218946a6bc8411afe8e77e0bb
...
Rare case where rel attribute of model field is None and DRF tries to return rel.to
2012-11-05 01:57:29 -08:00
Tom Christie
b8fa379e50
Merge pull request #364 from mjs7231/master
...
Fix for bug #363 : ChoiceField missing in renderers.py
2012-11-05 01:54:07 -08:00
Tom Christie
584c111aab
Merge pull request #366 from jmagnusson/master
...
Support for Djangos caching framework, fixes #346
2012-11-05 01:48:19 -08:00
Osiloke Emoekpere
e74772b8a6
This accounts for none(null) values of rel.to when converting model fields from native
2012-11-04 13:20:10 -05:00
Michael Shepanski
3d0f8b792f
Fix for bug #363 : ChoiceField missing in renderers.py
2012-11-04 12:31:37 -05:00
Jacob Magnusson
7df7dadccd
Remove `request' from response instance while
...
testing caching
2012-11-04 13:42:29 +01:00
Jacob Magnusson
bd5a3ee7d5
Merge branch 'master' of git://github.com/tomchristie/django-rest-framework
2012-11-04 12:52:11 +01:00
Jacob Magnusson
963c5fe4a7
Remove attributes that are not needed when caching
...
the Response object. This fixes #346
2012-11-04 12:48:41 +01:00
Jacob Magnusson
44f280c3ab
Add tests for caching of GET/HEAD requests using
...
Django's built in caching framework.
Currently fails as some attributes on the Response
object are not pickable
2012-11-04 12:47:46 +01:00
Tom Christie
3e0319389a
Added @jmagnusson. Thanks!
2012-11-04 09:45:30 +00:00
Tom Christie
746686b065
Merge pull request #360 from jmagnusson/master
...
Tests for pull #358 "Return dictionaries as is"
2012-11-03 00:31:36 -07:00
Jacob Magnusson
38af6107b5
Added test for ModelSerializer Meta fields
...
returning as expected
2012-11-03 00:32:08 +01:00
Jacob Magnusson
1b49615c00
Added test that makes sure that fields with
...
dictionaries as data are returned as expected and
not turned into string representations
2012-11-03 00:32:02 +01:00
Jacob Magnusson
19a218f859
Bye bye star import
2012-11-03 00:27:56 +01:00
Tom Christie
59c1e0933f
Update release notes
2012-11-02 21:13:29 +00:00
Tom Christie
b468dd6271
Merge pull request #359 from tomchristie/relationship_tests
...
Relationship tests
2012-11-02 14:08:49 -07:00
Tom Christie
dafbbdc5bf
Merge pull request #358 from jmagnusson/master
...
Return dictionaries as is
2012-11-02 14:08:21 -07:00
Tom Christie
8ec54e6a9f
Tweaks
2012-11-02 20:56:51 +00:00
Tom Christie
6eaec7a0ec
foreign key tests
2012-11-02 20:53:33 +00:00
Jacob Magnusson
a6806f0307
Apply to_native on dictionary keys as well
2012-11-02 21:48:16 +01:00
Jacob Magnusson
3de61d200c
Don't convert dictionary into a string representation
2012-11-02 20:55:58 +01:00
Tom Christie
e84ce60a0d
Initial PK relationship tests
2012-11-02 19:11:40 +00:00
Tom Christie
b9bff2a984
Fix issues with pk related fields in the browsable API.
2012-11-02 14:05:14 +00:00
Tom Christie
2dec2b9c13
Remove accidental egg-info files
2012-11-01 23:50:00 +00:00
Tom Christie
b8648c08be
gitignore *.egg-info
2012-11-01 23:48:25 +00:00
Tom Christie
062f5caef3
Tweaks fields docs, and fix 2.0.1 version.
2012-11-01 23:40:34 +00:00
Tom Christie
09d70958bd
Update release notes
2012-11-01 23:15:42 +00:00
Tom Christie
5209cd1dda
Merge pull request #357 from tomchristie/browseable-api-relationships
...
Relational field support in browseable API.
2012-11-01 16:12:42 -07:00
Tom Christie
36e21153fb
Merge master
2012-11-01 23:11:28 +00:00
Tom Christie
d327c5f531
Relational field support in browseable API.
...
Add slug relational fields.
Add quickstart.
2012-11-01 23:04:13 +00:00
Tom Christie
600289a815
Added @ottoyiu. Thanks!
2012-11-01 13:31:22 +00:00
Tom Christie
5558c0530f
Merge pull request #351 from asfaltboy/fix_trans_choices
...
Return choices as unicode and not string
2012-11-01 06:27:28 -07:00
Tom Christie
aa779598aa
Merge pull request #352 from asfaltboy/cleanup_MultipleObjectBaseView
...
cleanup MultipleObjectBaseView remains
2012-11-01 06:12:16 -07:00
Pavel Savchenko
9a0cc7c720
since MultipleObjectBaseView was renamed MultipleObjectAPIView, it stands to reason to complete the renaming in docs and comments as well.
2012-11-01 15:06:11 +02:00
Pavel Savchenko
d3aedd5fb1
return choices as unicode and not string,
...
might as well have jsonp return unicode
2012-11-01 15:00:22 +02:00
Tom Christie
204db7bdaa
Merge pull request #349 from ZestCore/master
...
Documentation Fix for Auth/Throttling API guide + 'from_native' bug
2012-11-01 02:12:20 -07:00
Otto Yiu
756297ad1d
fix 'from_native' method when rel is None
...
'NoneType' object has no attribute 'to'
2012-10-31 21:40:20 -07:00
Otto Yiu
96dc9ce1ad
Fixing documentation on auth/throttling guides
2012-10-31 21:27:21 -07:00
Tom Christie
027c9079f6
PUT as create should return 201. Fixes #340 .
2012-10-31 20:11:38 +00:00
Tom Christie
3a99170a73
Merge pull request #345 from minddust/master
...
minor docs fix
2012-10-31 04:02:50 -07:00
Stephan Groß
de2ef5d9c2
fixed typo
2012-10-31 11:12:09 +01:00
Tom Christie
4b2139c91a
Merge pull request #344 from minddust/master
...
minor docs fix
2012-10-31 02:45:23 -07:00
Stephan Groß
7f7f0b6ffb
added missing semicolon
2012-10-31 10:41:56 +01:00
Tom Christie
ecc55ca8f4
Added @asfaltboy. Thanks!
2012-10-31 09:39:32 +00:00
Tom Christie
a55dfaa488
Merge pull request #343 from asfaltboy/fix-docs
...
Fixing tutorials
2012-10-31 02:32:54 -07:00
Pavel Savchenko
a3ace366db
using 'pk' in fields throws KeyError
...
add missing imports
Browsable API seems to be working fine with FBV's (2.0.0)
removing snippets from the URI doesn't make sense
remain consistent in using SnippetDetail
2012-10-31 00:37:30 +02:00