Greg Price
e18baff32c
JsonableError: Rename message from `error` to `msg`.
...
The whole thing is an error, so "message" is a more apt word for the
error message specifically. We abbreviate that as `msg` in the actual
HTTP responses and in the signatures of `json_error` and friends, so
do the same here.
2017-07-24 16:41:22 -07:00
Yago González
2f4091b38d
api: Fix caps in JSON validation error message.
2017-06-27 08:33:56 -04:00
Aditya Bansal
19adf85d00
pep8: Add compliance with rule E261 to request.py.
2017-05-07 23:21:50 -07:00
Tim Abbott
ac20872f9d
request: Fix unnecessary translation tag for assertion.
2017-03-09 00:38:14 -08:00
sinwar
6f0564e9f4
python: Fix remaining bare excepts in codebase.
...
Fixes #2862 .
2017-03-05 16:17:04 -08:00
Tim Abbott
b677d63ed7
mypy: Fix missing class in request.pyi and document.
2016-12-28 09:37:28 -08:00
Umair Khan
fe1ba6f3eb
Django 1.10: Deprecate request.REQUEST.
2016-11-04 10:20:24 -07:00
sonali0901
5623fa9994
request docs: Fix typo in spelling of "parameter".
2016-10-09 11:13:49 -07:00
Umair Khan
08fbd57245
[i18n] Make error messages translatable.
...
Make all strings passing through `json_error` and `JsonableError`
translatable.
Fixes #727
2016-05-31 07:40:42 -07:00
Tim Abbott
960144a49e
Desupport using uninstantiated REQ with has_request_variables.
...
This makes life difficult for doing static type annotations, and
didn't make the code look that much better anyway.
2016-05-31 07:31:15 -07:00
Tomasz Kolek
8e144a1f57
Add zip and absoulte_import to pass py3k test.
2016-05-30 22:28:05 +02:00
Tim Abbott
572c69f3c2
Move REQ and friends to their own module.
2016-05-30 11:24:17 -07:00