Tom Christie
b069b0d33a
Merge pull request #5176 from levic/browsable-api-multipart-form-data
...
Fix browsable API not supporting multipart/form-data correctly
2017-06-16 15:08:27 +01:00
Levi Cameron
5cbfcbc56f
Fix regex typo allowing '[' in boundary string
2017-06-16 21:53:06 +10:00
Tom Christie
598e5877cd
Merge pull request #5192 from matteius/DRF-5135-one-to-one-pk
...
Special case for when OneToOneField is also primary key.
2017-06-16 12:06:12 +01:00
Tom Christie
d48a745f4d
Merge pull request #5218 from ossanna16/master
...
Added FAQ section for funding site
2017-06-15 21:47:42 +01:00
Anna
462378ba99
Added FAQ section for funding site
2017-06-15 19:02:40 +02:00
José Padilla
0e106c1657
Merge pull request #5214 from dmkoch/patch-1
...
Quote nested API parameters in api.js
2017-06-13 17:47:18 -04:00
Dan Koch
4701f12c3e
Quote nested API parameters in api.js
...
I sometimes have parameter names with a period (.) in them, to represent nested objects, e.g. containerobj.inner_param. The Javascript was throwing an error in the browsable API when interacting with those parameters.
2017-06-13 16:01:02 -04:00
Xavier Ordoquy
b96a22011b
Merge pull request #5210 from blueyed/DeprecationWarning-stacklevel
...
Use stacklevel=2 with DeprecationWarnings
2017-06-12 21:15:10 +02:00
Daniel Hahler
515fe928d5
Use stacklevel=2 with DeprecationWarnings
...
This makes the warnings refer to the code where it is used, which makes
it easier to find and fix.
2017-06-12 14:59:29 +02:00
Tom Christie
3c420cfad5
Merge pull request #5196 from Pierre-Sassoulas/master
...
Added aria-label and a new region for accessibility purposes in base.html
2017-06-09 10:22:27 +01:00
Tom Christie
836e49b535
Merge pull request #5202 from ossanna16/master
...
Updated monthly report link + added Tom's PyCon talk
2017-06-05 19:12:21 +01:00
Anna
b296d3b9a3
Updated monthly report link + added Tom's PyCon talk
2017-06-05 18:19:03 +02:00
Pierre Sassoulas
903ef4917a
Feat - Added aria-label and a new region for accessibility purpose
...
Navigating the page with a reader is easier is there is aria-label
and region.
https://www.w3.org/WAI/
2017-06-02 09:49:00 +02:00
Xavier Ordoquy
99382f3ccb
Merge pull request #5194 from MattBroach/master
...
Updated DjangoRestMulipleModel documentation to point to new repo loc…
2017-05-31 05:39:39 +00:00
Matt Broach
e4ec1d744e
Updated DjangoRestMulipleModel documentation to point to new repo location
2017-05-30 23:39:18 -04:00
Levi Cameron
6b8d6019ea
Fix boundary detection regex not handling spaces inside boundary marker correctly
2017-05-31 13:18:17 +10:00
Matt Davis
88f9dbceec
Silly linting change
...
import ordering matters
2017-05-30 14:13:29 -04:00
Matt Davis
6115815108
Special case for when OneToOneField is also primary key.
...
https://github.com/encode/django-rest-framework/issues/5135
2017-05-30 13:57:45 -04:00
Levi Cameron
1c44ef2b11
Improvements to code clarity
2017-05-30 10:43:33 +10:00
Tom Christie
9c9525b130
Merge pull request #5187 from mathpresso-mom/list_route_regex
...
Fix list_route, detail_route with kwargs contains curly bracket in url_path
2017-05-29 13:47:19 +01:00
이동환
0ad017a573
requested changes
2017-05-29 20:55:06 +09:00
Tom Christie
5267fcc8c6
Merge pull request #5159 from carltongibson/docs/get_schema_view_params
...
Add `generator_class` parameter to `get_schema_view` docs.
2017-05-29 12:53:49 +01:00
Tom Christie
823eea2d59
Merge pull request #5147 from imdark/patch-1
...
Improve memory footprint when reading large JSON requests.
2017-05-29 11:55:53 +01:00
Tom Christie
7de34cf187
Merge pull request #5163 from khakulov/patch-2
...
Added documentation from where to import get_schema_view
2017-05-29 11:55:02 +01:00
Tom Christie
e2157fbf7c
Merge pull request #5174 from tadhg-ohiggins/html_cutoff_none
...
Fix exception when HTML_CUTOFF is set to None
2017-05-29 11:54:03 +01:00
Xavier Ordoquy
6c7a7ccb1c
Merge pull request #5186 from dryice/max_length_for_file_field
...
make sure max_length is in FileField kwargs
2017-05-29 07:54:13 +00:00
Dryice Liu
836328594b
add test
2017-05-29 08:27:07 +08:00
이동환
973860d9fe
Added: test for list_route and detail_route with regex url_path
2017-05-28 18:38:09 +09:00
Dryice Liu
04adfb9c94
make sure max_length is in FileField kwargs
2017-05-28 04:14:56 +08:00
Carlton Gibson
26623436f3
Merge pull request #5179 from felixxm/issue-uri-to-iri
...
Fixed test_hyperlinked_related_lookup_url_encoded_exists.
2017-05-26 10:12:31 +02:00
Mariusz Felisiak
a002bb5c67
Fixed test_hyperlinked_related_lookup_url_encoded_exists.
...
Space character ' ' is prohibited in IRIs, therefore we shouldn't
rely on encoding '%20' to ' ' in the HyperlinkedRelatedField tests.
2017-05-26 09:56:26 +02:00
이동환
e6c9f89a12
Fixed curly bracket in regexp of @list_route
2017-05-25 19:13:45 +09:00
Levi Cameron
94c37c09c5
Fix browsable API not supporting multipart/form-data correctly
...
- Autodetect missing boundary parameter for Content-Type header
- textarea value normalises EOL chars to \n when multipart/form-data requires \r\n
2017-05-25 20:07:34 +10:00
imdark
cdeab1c490
fixed to pass isort linting
2017-05-24 18:12:38 -07:00
imdark
9a22811671
modified to use a reader
...
modified to use a reader since direct decoding is not supported
2017-05-24 17:56:49 -07:00
Tadhg O'Higgins
99782c2160
Add tests for HTML_CUTOFF setting and fix issue where setting it to None would raise an exception.
2017-05-24 16:46:18 -07:00
Azim Khakulov
d1093b5326
Added documentation from where to import get_schema_view
2017-05-23 02:08:20 +02:00
Tom Christie
871ce34983
Merge pull request #5161 from matteius/master
...
If pagination class, include the schema generation
2017-05-22 16:46:34 -07:00
Matt Davis
99569190ab
If pagination class, include the schema generation
...
https://github.com/encode/django-rest-framework/issues/5144
2017-05-22 19:10:54 -04:00
Carlton Gibson
53b3b83b04
Add generator_class
parameter to docs.
...
`get_schema_view` accepts `generator_class` parameter
2017-05-22 11:55:19 +02:00
Xavier Ordoquy
6831472a62
Remove ambiguous reference to former DjangoFilterBackend.
2017-05-19 23:50:13 +02:00
Xavier Ordoquy
703655bc65
Non model Viewset
requires base_name
when registering to router.
2017-05-19 23:35:25 +02:00
Xavier Ordoquy
8ee706a69e
Merge pull request #5155 from encode/carltongibson-patch-1
...
Update Django-Filter requirement
2017-05-19 10:13:30 +00:00
Carlton Gibson
167fd05857
Update Django-Filter requirement
...
A quick fix. Latest is 1.0.4
2017-05-19 09:00:56 +02:00
Xavier Ordoquy
1e9e1a5bfe
Merge pull request #5149 from tomchuk/master
...
Don't trim whitespace from authtoken passwords
2017-05-18 09:12:47 +00:00
Thomas Achtemichuk
70205cc64e
Lint
2017-05-17 15:17:55 -04:00
Thomas Achtemichuk
c9c383dfad
Don't trim whitespace from authtoken passwords
...
* Fixes #5148
2017-05-17 14:52:39 -04:00
imdark
3a2ad8e68c
in order to solve the memory leak at #5146
...
Large encoded string take a very long time to to release from memory, but if we just pass the stream directly into json.load we get much better memory performance.
2017-05-17 11:49:30 -07:00
José Padilla
1ca5a9d042
Merge pull request #5143 from carltongibson/update-django-filter
...
Update Django Filter requirement
2017-05-16 15:44:31 -04:00
Carlton Gibson
1d72b8f758
Update Django Filter requirement
...
Latest is v1.0.3 — improving support for schema generation
2017-05-16 21:16:19 +02:00