Xavier Ordoquy
2d20f09c0c
Merge pull request #4146 from xiaohanyu/bug-fix-unique-validator-error-with-related-field
...
Fix #3844 , refine validator for fields with <source=> kwargs
2016-05-26 07:56:03 +02:00
Xiao Hanyu
19bdfda49a
Fix #3844 , refine validator for fields with <source=> kwargs
...
When serializers has fields with something like `source=user.email`, the
uniqueness validator should check `email` field instead of `user`, cause
`user` is a model object.
2016-05-26 10:58:37 +08:00
Asif Saifuddin Auvi
35ace2e9ec
django 1.10 support initials ( #4144 )
...
* added django 1.10 alpha on tox
* added django 1.10 alpha on travis
* added allow_failure on travis matrix
2016-05-25 20:07:21 +01:00
Carlton Gibson
9d87dbc016
Remove Py2/Py3 difference from Example ( #4145 )
...
`print` is available as a function on every supported version of Python (2.7+)
2016-05-25 14:38:44 +01:00
Tom Christie
9b56dda918
Update requests.md
...
Drop out-of-date paragraph on `request.content`
2016-05-18 08:38:18 +01:00
Joe Simpson
5cf7d4a90d
Add LaTeX renderer to documentation ( #4131 )
2016-05-17 12:09:25 +01:00
José Padilla
b58e28b99c
Merge pull request #4130 from BenBrostoff/fix_doc_string_typos
...
Fix typos in ReturnDict and ReturnList docstrings
2016-05-16 23:18:52 -04:00
Ben Brostoff
400078311b
Fix typos in ReturnDict and ReturnList docstrings
2016-05-16 20:39:13 -04:00
José Padilla
d721021429
Update requirements ( #4125 )
2016-05-16 13:24:09 +01:00
KhasanovBI
768ae26aa4
Fix None values representation in childs of ListField, DictField. ( #4118 )
2016-05-16 09:30:23 +01:00
José Padilla
daccc2b8f3
Clean up js style and remove extra getCookie function ( #4123 )
2016-05-16 09:27:38 +01:00
José Padilla
5392be4ddb
Spring cleaning template styles ( #4124 )
2016-05-16 09:27:10 +01:00
Alexander Gaevsky
1328982de3
Set proper status code in AdminRenderer for the redirection after POST/DELETE requests. ( #4106 )
2016-05-16 09:22:28 +01:00
Petros Moisiadis
788603e153
Document allow_empty argument ( #4117 )
...
ListSerializer fields or serializers that are passed many=True may also take an allow_empty=False argument to disallow empty lists as valid input.
Information about this was part of the 3.2 release announcement, but had not been part of the API docs until now.
2016-05-13 15:55:31 +01:00
Tom Christie
ebb4070467
Resolve TimeField representation for midnight value. ( #4107 )
2016-05-10 11:56:36 +01:00
José Padilla
0795f7394c
Prevent raising exception when limit is 0 ( #4098 )
2016-05-10 10:58:24 +01:00
Xavier Ordoquy
5ac9685139
Merge pull request #4103 from Hongxia/i18n
...
Fix incorrectly named zh-hans and zh-hant locale path
2016-05-09 09:51:31 +02:00
Hongxia Zhong
f912faec3f
Merge branch 'master' into i18n
2016-05-06 23:41:58 -07:00
Graham R. Jeffries
dbbf79be64
minor docs indentation fix ( #4101 )
...
Fixes a minor indentation typo.
2016-05-06 11:58:58 +01:00
Hongxia Zhong
d39af5335c
Fix incorrect zh-hans and zh-hant locale directory path
2016-05-06 01:22:33 -07:00
Miro Hrončok
ffdac0d936
TokenAuthentication: Allow custom keyword in the header ( #4097 )
...
This allows subclassing TokenAuthentication and setting custom keyword,
thus allowing the Authorization header to be for example:
Bearer 956e252a-513c-48c5-92dd-bfddc364e812
It doesn't change the behavior of TokenAuthentication itself,
it simply allows to reuse the logic of TokenAuthentication without
the need of copy pasting the class and changing one hardcoded string.
Related: #4080
2016-05-04 10:53:34 +01:00
Xavier Ordoquy
37b1ce5d86
Merge pull request #4096 from tedmiston/master
...
Fix typo in permissions docs
2016-05-04 10:17:45 +02:00
Taylor Edmiston
c355cdc585
Fix typo in permissions docs
2016-05-03 14:20:45 -04:00
Kyle Hornberg
399e1c1dcf
Typo fix ( #4094 )
2016-05-03 15:53:55 +01:00
Xavier Ordoquy
6c6e5c7fba
Merge pull request #4093 from auvipy/up
...
added python 3.5 checks for django 1.8
2016-05-03 12:23:04 +02:00
Asif Saifuddin Auvi
37ad407e64
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework into up
2016-05-03 16:01:40 +06:00
Asif Saifuddin Auvi
5f52c4ff3e
added python3.5 for django 1.8 checks
2016-05-03 15:52:05 +06:00
Asif Saifuddin Auvi
28c6d96af8
upgraded minor django version n tox ( #4091 )
2016-05-03 09:25:27 +01:00
Germán Larraín
e19b21ecc5
Handle incorrectly padded HTTP basic auth header ( #4090 )
2016-05-03 09:24:55 +01:00
Asif Saifuddin Auvi
04ebb1ef04
upgraded minor django version n tox
2016-05-03 09:50:52 +06:00
Xavier Ordoquy
a9bbb502cb
Remove references to South as we don't need it any longer. ( #4085 )
...
* Remove references to South as we don't need it any longer.
* Add a note about auth_token including Django migrations.
2016-04-29 14:16:03 +01:00
Daniele Varrazzo
88c80fe2e9
Fixed DecimalField arbitrary precision support ( #4075 )
2016-04-27 17:04:01 +01:00
José Padilla
4f16c54428
Merge pull request #4049 from clintonb/csrf-cookie-fix
...
Added support for custom CSRF cookie names
2016-04-26 11:43:23 -03:00
Xavier Ordoquy
1823662e1e
Merge pull request #4044 from linovia/merge/3.3.x_to_master
...
Merge the changes in 3.3.x back to master.
2016-04-21 11:31:15 +02:00
Puneet Aggarwal
888e5c78bd
Update README.md ( #4055 )
2016-04-19 15:09:16 +01:00
Clinton Blackburn
9d9658f128
Added support for custom CSRF cookie names
...
Instead of hardcoding the CSRF cookie name, the value is passed to the template as a context variable, rendered as a JavaScript variable, and read by csrf.js.
Fixes #4048
2016-04-11 23:58:55 -04:00
Phivos Stylianides
08dad04b19
Fix warnings when running tests ( #4047 )
2016-04-11 14:13:11 +01:00
Simon Charette
d87f2bc7b6
OrderingFilter adjustements ( #3983 )
...
* Made sure the OrderingFilter relies on Field.verbose_name.
* Marked OrderingFilter's order labels for translation.
2016-04-08 15:37:23 +01:00
Xavier Ordoquy
bff3bebdbe
Merge remote-tracking branch 'reference/stable/3.3.x' into merge_test
...
# Conflicts:
# docs/topics/release-notes.md
2016-04-08 15:46:17 +02:00
Xavier Ordoquy
95418eb8ac
Add the medium collection related to Django REST framework. ( #4043 )
2016-04-08 14:43:10 +01:00
Xavier Ordoquy
10a080d395
Merge pull request #4041 from linovia/bug/fix_correct_string_type
...
Fix regression introduced by #4035
2016-04-07 20:16:25 +02:00
Xavier Ordoquy
29a2e549c1
Merge remote-tracking branch 'reference/master' into bug/fix_correct_string_type
2016-04-07 18:03:12 +02:00
Xavier Ordoquy
2622588b30
Typo correction.
2016-04-07 18:00:17 +02:00
Xavier Ordoquy
019c6db759
Fix the string_types / text_types confusion introduced in #4025 ( #4035 )
2016-04-07 16:34:27 +01:00
Jonathan Liuti
78e4ea0d6e
No auth view failing permission should raise 403
...
A view with no `authentication_classes` set and that fails a
permission check should raise a 403 with the message from the
failing permission.
2016-04-07 16:24:26 +01:00
Xavier Ordoquy
6a29196712
Merge pull request #4038 from raphaelgyory/master
...
Add Django Rest Messaging to Third Party Packages
2016-04-06 17:26:16 +02:00
Raphael Gyory
b870101581
Update third-party-resources.md
2016-04-06 17:00:26 +02:00
Raphael Gyory
f1a384b61b
Add Django Rest Messaging in Third party packages
2016-04-06 16:58:15 +02:00
Xavier Ordoquy
763aab6b45
Fix the string_types / text_types confusion introduced in #4025
2016-04-05 16:29:16 +02:00
José Padilla
dd3b47ccbd
Merge pull request #4025 from dnit/master
...
type('') to str
2016-04-03 14:03:13 -04:00