Tom Christie
549210b50f
Don't strip microseconds in JSON output. ( #4256 )
2016-07-11 14:34:23 +01:00
Tom Christie
7bfa5a9141
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2016-07-11 13:49:21 +01:00
Tom Christie
321c060dbe
Resolve incorrect media type ( #4254 )
2016-07-11 12:04:11 +01:00
Tom Christie
f319e073e8
Client docs
2016-07-11 11:54:53 +01:00
Tom Christie
c21994e778
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2016-07-08 16:38:47 +01:00
Tom Christie
c56d6d6bd3
Docs tweaks
2016-07-08 16:38:38 +01:00
Kenneth Schnall
ff5cfe3e84
Replace "class based views" occurrences with "class-based views" ( #4251 )
2016-07-08 08:38:50 +01:00
Tom Christie
7c171dfd83
Add tutorial 7 to homepage [ci skip]
2016-07-07 09:55:26 +01:00
Tom Christie
4a07d31d70
Add stream to premium backers [ci skip] ( #4249 )
2016-07-07 09:34:01 +01:00
kiyoqoko
6338ce80ab
Add localize keyword argument to DecimalField
( #4233 )
...
Add `localize` keyword argument for DecimalField
2016-07-06 16:07:16 +01:00
Tom Christie
b10de37476
Funding text tweaks [ci skip] ( #4247 )
2016-07-05 15:58:36 +01:00
cobaltchang
b04bd8618c
Fix the error without specified encoding when compiling ( #4246 )
...
Fix setup.py error on some platforms
2016-07-05 15:36:52 +01:00
Tom Christie
6ff9840bde
Schemas & client libraries. ( #4179 )
...
* Added schema generation support.
* New tutorial section.
* API guide on schema generation.
* Topic guide on API clients.
2016-07-04 16:38:17 +01:00
Vikalp Jain
1d2fba906e
Fix issues with routers for custom list-route and detail-routes ( #4229 )
2016-06-29 17:27:17 +01:00
Tom Christie
d41ddc9e5f
Update README.md
2016-06-29 12:16:42 +01:00
José Padilla
1359061789
Merge pull request #4226 from waytai/patch-1
...
Update pagination.md
2016-06-27 22:50:32 -04:00
decore
1037a2742e
Update pagination.md
2016-06-28 10:15:42 +08:00
Xavier Ordoquy
151a60b64b
Merge pull request #4224 from kneckinator/patch-1
...
Added missing colon in extra_kwargs documentation
2016-06-25 22:12:59 +02:00
Ken Lewerentz
57122f0422
Added missing colon in extra_kwargs documentation
2016-06-25 22:05:28 +07:00
Tom Christie
3a7bfdfa70
Add sentry as a premium sponsor [skip ci] ( #4221 )
...
Add Sentry as a premium sponsor.
2016-06-24 11:05:19 +01:00
Tom Christie
8ab684187c
Tweak funding text. [skip ci]
2016-06-24 10:06:02 +01:00
Laurent De Marez
fdde44d9d1
Fix parsing multipart data using a nested serializer with list ( #3820 )
...
It is possible that a key in a MultiValueDict has multiple values, lists
are represented this way. When accessing a key in a MultiValueDict
it only returns the last element of that key. This becomes a problem
when parsing an html dict with a list inside of it.
To fix this problem we have to get and set the value using .getlist()
and .setlist().
2016-06-23 16:03:24 +01:00
Tom Christie
bc3485ab7d
Namespace versioning with nested namespaces ( #4219 )
...
Support nested namespaces with namespaced versioning.
2016-06-23 16:00:11 +01:00
Tom Christie
ea92d50582
Resolve tests against Django master ( #4218 )
2016-06-23 15:41:25 +01:00
Tom Christie
f81d516ae4
Robust uniqueness checks. ( #4217 )
...
* Robust uniqueness checks
* Add master to test matrix (allow_failures)
2016-06-23 15:09:23 +01:00
José Padilla
a20a75636c
Test against Django 1.10b1 ( #4210 )
...
* Test against Django 1.10b1
* Test against Django master
2016-06-23 14:12:51 +01:00
Tom Christie
e1f7cc4082
Minor refactoring of must_call_distinct ( #4215 )
2016-06-23 14:02:25 +01:00
Simon Charette
90bb0c58ce
Prevented unnecessary distinct() call in SearchFilter. ( #3938 )
...
* Prevented unnecessary distinct() call in SearchFilter.
* Refactored SearchFilter lookup prefixes.
2016-06-23 13:49:23 +01:00
Tom Christie
2a3b4c9822
README sponsorship placement ( #4214 )
...
README sponsorship placement.
2016-06-23 13:29:38 +01:00
Rowan Seymour
36ca4b8e06
Make offset_cutoff a class attribute in CursorPagination so that it can be easily overridden in subclasses ( #4212 )
2016-06-23 10:37:15 +01:00
Ankush Thakur
879652ec2e
Update 2-requests-and-responses.md ( #4209 )
...
Make the usage of httpie accept headers more explicit.
2016-06-21 21:07:55 +01:00
Kenneth Love
498ce85f34
Update third-party-resources.md ( #4200 )
2016-06-15 21:17:16 +01:00
Tom Christie
798a971f20
Simplfy TimeField passing through strings ( #4197 )
...
* Simplfy TimeField passing through strings
2016-06-14 16:05:00 +01:00
Tom Christie
9406e45b2c
Pass through strings as-in with DateTimeField ( #4196 )
2016-06-14 12:23:39 +01:00
Tom Christie
1633a0a2b1
Add test confirming that required=False is valid on a relational field ( #4195 )
2016-06-13 16:52:45 +01:00
Tom Christie
2e7fae7698
limit=0 should revert to default limit ( #4194 )
2016-06-13 16:32:43 +01:00
Tom Christie
c3b7fba918
Exclude read_only=True fields from unique_together validation & add docs. ( #4192 )
...
* Exclude read_only=True fields from unique_together validation
* Test to ensure that unique_together validators can be removed
* Do not add uniquness_extra_kwargs when validators are explicitly declared.
* Add docs on validation in complex cases
2016-06-13 13:31:12 +01:00
Tom Christie
9bffd35432
Handle bytestrings in JSON. Closes #4185 . ( #4191 )
2016-06-13 10:41:50 +01:00
Tom Christie
bb22ab8ee7
More robust form rendering in the browsable API ( #4181 )
2016-06-08 17:13:20 +01:00
Tom Christie
a5f822d067
Empty cases of .validated_data and .errors as lists not dicts for ListSerializer ( #4180 )
2016-06-08 15:55:09 +01:00
Asif Saifuddin Auvi
04e5b5b20a
removed AUTH_USER_MODEL compat property ( #4176 )
...
Removed unnecessary `AUTH_USER_MODEL` compat variable.
(No longer required)
2016-06-07 12:13:35 +01:00
Tom Christie
b1035b2a87
Minor docs tweaks. [ci skip] ( #4174 )
2016-06-06 12:03:37 +01:00
Tom Christie
2712d4e5fe
Note on obtain_auth_token and throttles/permissions. Closes #4128 . [ci skip] ( #4173 )
2016-06-06 11:03:56 +01:00
José Padilla
064e8e264b
Merge pull request #4171 from auvipy/up
...
upgraded django to 1.9.7 release
2016-06-05 08:33:28 -04:00
Asif Saifuddin Auvi
d54082c4a7
upgraded django to 1.9.7 release
2016-06-05 12:12:38 +06:00
Tom Christie
d404597e0b
Update FileUploadParser docs. Closes #4167 . [ci skip] ( #4169 )
2016-06-03 09:37:09 +01:00
Sergei Sinitsyn
94863ee6d0
Change serializer field help_text rendering in browsable api ( #3812 )
2016-06-02 15:21:57 +01:00
Tom Christie
75751cc64e
Allow relative style hyperlinked URLs
2016-06-02 15:03:17 +01:00
Tom Christie
9c996d7d2a
Clean up existing deprecation warnings. ( #4166 )
...
* Add Meta.fields = '__all__' to serializer classes where required.
* Add explicit on_delete=models.CASCADE to ForeignKey fields.
* Use '.remote_field' and '.model' in preference to '.rel' and '.to' when inspecting model fields.
* Use new value_from_object in preference to internal _get_val_from_obj
2016-06-02 14:39:10 +01:00
Tom Christie
53a356a380
Fix docs link [ci skip] ( #4165 )
2016-06-02 10:35:18 +01:00