Commit Graph

7527 Commits

Author SHA1 Message Date
Didi Hoffmann
1368d3677c Added the separator line back
Accidentally also deleted a line.
2017-07-31 15:00:26 +02:00
Didi Hoffmann
ad501d41f5 Added the django user model
So it is possible to copy paste the example and it will work out of the box.
2017-07-31 14:50:36 +02:00
José Padilla
3eade5abeb Merge pull request #5285 from minusf/master
typo: may -> many
2017-07-20 22:30:58 -04:00
minusf
9ec89141ee typo: may -> many 2017-07-20 23:42:51 +02:00
Tom Christie
2d4226c2bd Update README.md 2017-07-18 09:16:13 +01:00
Tom Christie
0c9c951c1d Update README.md 2017-07-18 09:15:22 +01:00
Anna Ossowski
2e534b31c1 Removed Micropyramid as a sponsor (#5280) 2017-07-18 09:14:49 +01:00
Erick Delfin
089887d56e Simplified chained comparisons and minor code fixes (#5276) 2017-07-16 17:12:29 +01:00
Tommy Beadle
2a1fd3b45a Add link to third-party package for LinkHeaderPagination. (#5270) 2017-07-12 16:45:41 +01:00
José Padilla
8a8389bd4b Merge pull request #5264 from rpkilby/search-filter-reverse
Fix SearchFilter to-many behavior/performance
2017-07-11 10:08:37 -04:00
Ryan P Kilby
d1cfec8d87 Fix SearchFilter to-many behavior by ANDing cond's 2017-07-10 14:50:47 -04:00
Ryan P Kilby
f02b7f1329 Add failing test for #4655 2017-07-10 14:20:23 -04:00
Tom Christie
6d4d4dfd04 Ensure closables in request.FILES get closed. (#5262)
Ensure closables on `.FILES` get closed.
2017-07-10 13:42:02 +01:00
elmccarthy
b905197f24 Fix issue #5258 (#5259)
Sanitize serializer.data to remove hidden fields before rendering template JSON instance to raw data form.

* Fix lint issues
2017-07-10 11:43:36 +01:00
Tom Christie
39f6f1137c Merge pull request #5261 from encode/validation-error-on-invalid-timezone-parsing
Raise validation error on invalid timezone parsing.
2017-07-10 11:27:28 +01:00
Tom Christie
41901185d2 Ignore timezone test case for Django 1.8, due to differing behavior. 2017-07-10 11:18:26 +01:00
Tom Christie
fbb3490989 Merge pull request #5188 from andreagrandi/auth-token-cmd
Add Django manage command to create a DRF user Token
2017-07-10 10:35:05 +01:00
Tom Christie
7d240a2e50 Minor cleanup in test. 2017-07-10 10:30:39 +01:00
Tom Christie
c7e2bad524 Merge pull request #5189 from myrubapa/master
Fix API documentation templates do not check for user authentication #5162
2017-07-10 10:28:33 +01:00
Tom Christie
bf7fcc495b Raise validation error on invalid timezone parsing. 2017-07-10 10:14:31 +01:00
Tom Christie
3dab905656 Merge pull request #5231 from dmmatson/feature/slugfield-allow-unicode
Fixed tests on Windows. Added unicode support to SlugField
2017-07-07 12:41:52 +01:00
Tom Christie
1a31959d45 Merge pull request #5229 from IndustriaTech/fix/set-request-args-kwargs
Fixed #5228 Set ViewSet args/kwargs/request before dispatch
2017-07-07 12:39:50 +01:00
José Padilla
d5896b9f7d Merge pull request #5251 from davesque/master
Add information in docs about djangorestframework-simplejwt package
2017-07-06 10:53:52 -04:00
David Sanders
4091607d94 Add information in docs about djangorestframework-simplejwt package 2017-07-05 14:48:54 -06:00
Tom Christie
75fec24e25 Merge pull request #5248 from ossanna16/master
Updated monthly report link
2017-07-04 17:55:19 +01:00
Anna
fd6cc1e395 Updated monthly report link 2017-07-04 17:53:03 +02:00
dmmatson
302a9d089e Fixed tests on Windows. Added unicode support to SlugField 2017-06-23 23:11:17 -06:00
José Padilla
0dd3aa4126 Merge pull request #5230 from nacosta/patch-1
Link in the home page is broken
2017-06-23 20:02:09 -04:00
Neftalí Acosta
900cae1507 Link broken
The link to the Python Exception Handling Techniques article written by Doug Hellmann is broken.

I could find the article in the URL I proposed.
2017-06-23 08:09:10 +01:00
Venelin Stoykov
0e5d26fa6a Fixed #5228 Set ViewSet args/kwargs/request before dispatch 2017-06-22 16:22:17 +03:00
José Padilla
506ec8594d Merge pull request #5227 from mhrivnak/patch-1
typo fix
2017-06-20 15:32:17 -04:00
Michael Hrivnak
5fe984b657 typo fix
removes an extraneous word
2017-06-20 15:07:45 -04:00
José Padilla
9e72736af8 Merge pull request #5219 from blueyed/fix-doc-_authenticate
doc: fix documentation for Request._authenticate
2017-06-17 09:21:00 -04:00
José Padilla
f70e74dca2 Merge pull request #5222 from menecio/menecio-update-dot-drf-contrib-path
Update API guide section referring to DOT
2017-06-17 09:19:56 -04:00
Aristóbulo Meneses
5002d1a9ae Update DOT docs
DOT renamed `ext` to `contrib` on their new release `1.0.0`
2017-06-17 15:02:22 +02:00
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
Daniel Hahler
fe95ab675b doc: fix documentation for Request._authenticate
It does not return anything.
2017-06-16 13:23:26 +02: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
Andrea Grandi
d2459710ca Implement option to reset User token 2017-06-03 11:58:01 +01:00
Andrea Grandi
34c38e0cfe Use self.sdtout and CommandError to print output 2017-06-03 11:06:14 +01:00