Tom Christie
6302307885
Update comment in get_parser_context
.
2013-10-24 13:45:16 +01:00
alexanderlukanin13
6b3500b684
Fixed UnicodeEncodeError when POST JSON via web interface; added test
2013-10-24 17:52:52 +06:00
Tom Christie
f92d8bd972
Added @jbzdak, for the nice docs improvements in #1191 . Thanks!
2013-10-22 12:21:26 +01:00
Tom Christie
0454956be5
Merge pull request #1191 from jbzdak/master
...
Filter documentation explanation
2013-10-22 04:20:02 -07:00
Jacek Bzdak
cc9c7cd8a4
Small documentation fix
2013-10-22 13:15:48 +02:00
Jacek Bzdak
8fffc346c1
Merge remote-tracking branch 'origin/master'
2013-10-22 13:13:01 +02:00
Jacek Bzdak
25c9d552c0
Explained a bit more about django-filter implementation.
...
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-22 13:11:14 +02:00
Tom Christie
fa87fac61b
Added @ross for work on #1187 . Thanks!
2013-10-22 10:21:06 +01:00
Tom Christie
f2648fefff
Merge pull request #1187 from ross/paginator_def_val
...
paginator should validate page and provide default
2013-10-22 02:19:36 -07:00
Ross McFarland
c36122a7ba
remove stray func from test
2013-10-21 14:26:21 -07:00
Ross McFarland
f0a129dcda
retract the default page stuff.
...
better way comming in a seperate pr
2013-10-21 14:23:06 -07:00
Tom Christie
216ac8a5c1
Use lookup_url_kwarg in presave if required
2013-10-21 17:19:28 +01:00
Tom Christie
76672787cd
Added . Closes #1188 .
2013-10-21 09:47:07 +01:00
Tom Christie
c37bd40d28
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-10-21 09:30:17 +01:00
Tom Christie
70b0798118
Add invite signup
2013-10-21 09:30:01 +01:00
Tom Christie
2bea764710
Merge pull request #1189 from jespino/patch-1
...
Remove the detail=None from APIException signature
2013-10-21 01:26:45 -07:00
Jesús Espino
ed9c3258a6
Remove the detail=None from APIException signature
...
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-21 10:24:06 +02:00
Ross McFarland
63e6a3b492
paginator should validate page and provide default
...
- use the standard paginator.validate_number method rather
strict_postive_int.
- support optional paginator method, default_page_number, to get the default
page number rather than hard-coding it to 1
- this allows supporting non-integer based pagination which can be an
important performance tweak on extermely large datasets or high request
loads
- relatively thorough unit tests of the changes
2013-10-19 21:11:27 -07:00
dpetzel
17a00be830
This fix results in models.NullBooleanField rendering as a checkbox in the browsable API
2013-10-18 21:13:20 -04:00
dpetzel
735c75abb9
add test case around ensuring proper field inference for boolean model field types
2013-10-18 21:10:49 -04:00
Tom Christie
c3aeb16557
Update 3-class-based-views.md
2013-10-18 09:32:04 +01:00
Tom Christie
016deaf9de
Merge pull request #1177 from rprince/patch-2
...
Mention name of file to edit
2013-10-18 01:30:17 -07:00
Tom Christie
44a0f1cfbc
Merge pull request #1178 from rprince/patch-3
...
Using the filenames where relevant
2013-10-18 01:16:51 -07:00
Tom Christie
78c8e6de40
Update 2-requests-and-responses.md
2013-10-18 09:10:54 +01:00
Tom Christie
bad5083e09
Merge pull request #1176 from rprince/patch-1
...
Added name of file to edit
2013-10-18 01:10:03 -07:00
Tom Christie
7e4f9f0863
Merge pull request #1182 from tamakisquare/add-to-credits
...
add @tamakisquare for work on #1111
2013-10-18 00:59:29 -07:00
Colin
daf927ef68
add @tamakisquare for work on #1111
2013-10-17 12:28:58 -07:00
Tom Christie
2394f05e5a
Merge pull request #1170 from craigds/write-into-foreignkey-with-source
...
fix writing into foreign key with non-null source
2013-10-17 07:59:29 -07:00
Tom Christie
6a40202a64
Merge pull request #1112 from tamakisquare/issue-1111
...
Test case and fix for issue 1111
2013-10-17 07:31:15 -07:00
Tom Christie
8c60471766
Merge pull request #1172 from brutasse/fix/return-object
...
Return object in save_object
2013-10-17 07:19:38 -07:00
Bruno Renié
cc3c16eaa0
Fix a docstring to reflect what the method does
2013-10-17 16:08:17 +02:00
Tom Christie
545ee013e3
Added @badale, for work on #1179 . Thanks!
2013-10-17 09:40:06 +01:00
Tom Christie
b3e0145294
Merge pull request #1181 from badale/master
...
Fixed #1179 : RepresenterError with DecimalField and YAMLRenderer
2013-10-17 01:38:27 -07:00
badaud_t
b730aec0f4
Fix decimal support with YAMLRenderer
2013-10-17 01:08:24 +02:00
badaud_t
8a5fea06f0
Fix typo YAMLRendererTests
2013-10-17 01:07:50 +02:00
Tom Christie
bdf8b53218
Merge pull request #1180 from kevin-brown/pull_1164
...
Put template block around the description
2013-10-16 06:41:58 -07:00
Omer Katz
d31fd33f4b
Allow to customize description so that markup can be accepted if needed.
2013-10-16 09:15:02 -04:00
Rikki
bf60848952
Using the filenames where relevant
...
Sometimes it's hard to tell which file the code is intended to go in. Now it spells it out.
2013-10-16 03:21:43 +01:00
Rikki
cb123e896e
Mention name of file to edit
...
To reduce unnecessary cognitive load of the learner, name the file they are putting this code in.
2013-10-16 03:08:43 +01:00
Rikki
e83bc00323
Added name of file to edit
...
So reader doesn't have to remember, or check through all the files to find where this code fragment was, mention the file name when it is relevant.
2013-10-16 03:03:51 +01:00
Colin Huang
c6be12f02b
[Fix]: Error with partial=True and validate_<name>
...
The error occurs when serializer is set with partial=True and a
field-level validation is defined on a field, for which there's no
corresponding update value in .data
2013-10-15 17:05:10 -07:00
Tom Christie
d68700740f
Merge pull request #1171 from alazaro/patch-1
...
Add missing commas in relations.md
2013-10-13 02:13:00 -07:00
Álvaro Lázaro
89ac03af26
Add missing commas in relations.md
2013-10-12 20:31:33 +02:00
Tom Christie
97fbc5caec
Merge pull request #1157 from dpetzel/tutorial_authentication
...
Be sure to import UserSerializer
2013-10-11 00:36:55 -07:00
Craig de Stigter
86ea969e11
fix ticket link in test docstring
2013-10-11 15:50:07 +13:00
Craig de Stigter
7c3769f04b
fix writing into foreign key with non-null source
2013-10-11 15:31:55 +13:00
Tom Christie
f18158358d
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-10-10 17:34:15 +01:00
Tom Christie
c3e370b168
Merge branch 'html-form-rendering'
2013-10-10 17:33:39 +01:00
Tom Christie
9e29c63895
Ensure read-only fields don't break with current HTML renderer behavior
2013-10-10 17:33:22 +01:00
Carlton Gibson
0bbc775b95
Merge pull request #1071 from craigds/field-transform-methods
...
Feature: add transform_<fieldname> methods to serializers
2013-10-09 01:11:46 -07:00