Jimmy Gitonga
6e7c9594fe
Updating the Django version "runserver" output and enforcing code block styling
...
CHANGED the Django version run server output to “1.11”
ADDED “```” to a code block on line 44 of
“/tutorial/7-schemas-and-client-libraries/“ to enforce code wrap.
Perhaps, we might need to do this to all code blocks. I would be happy
to do that.
2017-04-28 18:08:54 +03:00
Rodney Folz
971bc066c5
Improve grammar in .force_authenticate() docs
...
* Remove unnecessary comma
* Remove the "and simple" copied from the line above.
* Add "entirely" to emphasize that this function bypasses the authentication step.
2017-04-27 15:44:06 -07:00
Tom Christie
80d0ee563a
Merge pull request #5042 from boxingwizards/i4999
...
PoC Add JSONBoundField to serializers (Fixes #4999 )
2017-04-27 20:26:40 +01:00
Tom Christie
5ba2368ff9
Merge pull request #4987 from halfstrik/master
...
Added test for DateTimeField validation when server has timezone with…
2017-04-27 17:22:27 +01:00
Tom Christie
aafd0a644f
Merge pull request #4979 from linovia/feature/improve_schema_shortcut
...
Restrict doc & schema shortcuts to a subset of urls
2017-04-27 16:58:01 +01:00
Tom Christie
5e5fd67899
Merge pull request #5086 from valohai/limit-offset-pagination-schema
...
SchemaGenerator: Avoid crashing with pagesizeless paginators
2017-04-27 16:57:28 +01:00
Tom Christie
ee1a9fcef6
Merge pull request #5078 from rooterkyberian/issue-4748
...
add URL path unquote to HyperlinkedRelatedField.to_internal_value
2017-04-27 16:27:04 +01:00
Dave Allan
f56b117064
Pass non-JSON serializable values through unmodified
2017-04-26 14:10:47 -04:00
Dave Allan
7a0bd1c4d1
Use text area for JSON fields and indent JSON
2017-04-26 14:10:47 -04:00
Dave Allan
11d8e4df88
PoC Add JSONBoundField to serializers ( Fixes #4999 )
...
Per issue #4999 , JSONFields are not rendered properly in the DRF
browsable API HTML forms. This patch attempts to fix that behavior by
introducing a JSONBoundField helper similar to the NestedBoundField
helper.
2017-04-26 14:10:47 -04:00
Tom Christie
66e015c5ec
Merge pull request #5099 from jpadilla/books
...
Improve books section
2017-04-26 14:28:31 +01:00
José Padilla
d45c12ff8c
Improve books section
2017-04-26 09:16:45 -04:00
José Padilla
fff9837195
Merge pull request #5098 from pydanny/fix-book-order
...
Corrected order of books. Apologies to @limedaring
2017-04-25 21:31:39 -04:00
Daniel Roy Greenfeld
dfb0e6ff2d
Corrected order of books. Apologies to @limedaring
2017-04-25 17:42:14 -07:00
Xavier Ordoquy
10c22af81e
Merge pull request #5097 from pydanny/add-tsd111-to-resources
...
add Two Scoops of Django 1.11 to tutorials and resources
2017-04-25 21:40:43 +00:00
Daniel Roy Greenfeld
4be21cf854
add Two Scoops of Django 1.11 to tutorials and resources
2017-04-25 14:36:36 -07:00
Tom Christie
a0602bce4c
Merge pull request #5088 from mlissner/patch-1
...
Updates the core json media type in the docs
2017-04-24 20:14:17 +01:00
Mike Lissner
b8520a1f2e
Updates the core json media type in the docs
...
Per: http://www.django-rest-framework.org/topics/3.5-announcement/#corejson-media-type
(I was *wondering* why this didn't seem to work!)
2017-04-20 11:37:46 -07:00
Aarni Koskela
72da73310d
SchemaGenerator: Avoid crashing with pagesizeless paginators
2017-04-19 09:43:28 +03:00
Xavier Ordoquy
778aee1bb3
Merge master.
2017-04-19 07:56:39 +02:00
Xavier Ordoquy
36e5759498
Add documentation for the get_schema_view
new argument: patterns
2017-04-19 07:49:13 +02:00
hurturk
2196cd2bbb
Generate schema with respect to http_method_names provided by CBV
2017-04-18 23:44:18 -04:00
nerlin
ed72603d35
Fixed render error of required nested serializer.
...
Fixes an error that occurs on rendering response with error that says that required nested serializer field must be specified in data.
2017-04-19 03:18:52 +03:00
Tom Christie
8f6173cd8a
Merge pull request #5082 from valohai/customizable-schema-generator
...
Customizable schema generator classes
2017-04-18 13:39:40 +01:00
Aarni Koskela
53f48d1564
Allow customizing DefaultRouter's schema generator class
2017-04-18 14:14:04 +03:00
Aarni Koskela
51a6c076e2
Allow customizing the SchemaGenerator class for docs
2017-04-18 14:14:04 +03:00
José Padilla
bd768d6253
Merge pull request #5081 from smirnoffs/add_django_1_11_to_setup
...
Add Django 1.11 into *.md and setup.py
2017-04-17 14:12:33 -04:00
Sergey Smirnov
34f88dc3f8
Add Django 1.11 into *.md and setup.py
2017-04-17 19:42:50 +02:00
Maciej Urbanski
5e185aa26b
add URL path unquote to HyperlinkedRelatedField.to_internal_value
2017-04-14 01:56:44 +02:00
Xavier Ordoquy
d757127e9a
Merge remote-tracking branch 'reference/master' into feature/improve_schema_shortcut
...
* reference/master: (22 commits)
Clarify get_schema_fields signature
Updated monthly report link on funding page
Bumped django-guardian version.
remove django 1.11 from allow_failure matrix
update django 1.11 to stable release in tox
Update existing vary headers in response instead of overwriting them.
Update links after moving to encode org
Use overridden settings exception handler
Pass initkwargs stored on view to instance
Update 7-schemas-and-client-libraries.md
Update Boolean field to more closely match python library
Fix parser names in docstring.
Fix typo at docstring
update test case
update test case
fix unique=True validation for ChoiceField
Added drfpasswordless to Authentication docs
Document adding django_filters to installed apps
Added drfpasswordless to third party packages topic page.
Added drfpasswordless to authentication topic page.
...
2017-04-13 08:29:47 +02:00
Tom Christie
fd72a814f8
Merge pull request #5073 from khakulov/patch-1
...
Clarify get_schema_fields signature
2017-04-12 17:22:33 +01:00
Tom Christie
853f393112
Merge pull request #5065 from felixxm/django-guardian-version
...
Bumped django-guardian version.
2017-04-12 17:02:52 +01:00
Azim Khakulov
613aa61ada
Clarify get_schema_fields signature
...
I had to look for the signature of `get_schema_fields()`in source code.
2017-04-12 12:25:27 +02:00
José Padilla
f884814b89
Merge pull request #5071 from ossanna16/master
...
Updated monthly report link on funding page
2017-04-10 17:33:10 -04:00
Anna
1bbfc0e87c
Updated monthly report link on funding page
2017-04-10 22:37:49 +02:00
Mariusz Felisiak
e70b920d2e
Bumped django-guardian version.
2017-04-09 22:21:42 +02:00
Xavier Ordoquy
06d64bd74a
Merge pull request #5063 from auvipy/patch-3
...
remove django 1.11 from travis allow_failure matrix
2017-04-08 22:00:06 +02:00
Xavier Ordoquy
01eda156bd
Merge pull request #5062 from auvipy/patch-1
...
django 1.11 to stable release in tox
2017-04-08 21:29:04 +02:00
Asif Saifuddin Auvi
82c855c407
remove django 1.11 from allow_failure matrix
2017-04-09 01:23:07 +06:00
Asif Saifuddin Auvi
2e546f02ba
update django 1.11 to stable release in tox
2017-04-09 01:20:56 +06:00
Tom Christie
d300c3c648
Merge pull request #5047 from kirberich/merge-vary-headers
...
Update existing vary headers in response instead of overwriting them.
2017-04-07 20:44:58 +01:00
Tom Christie
33290170e8
Merge pull request #5060 from jpadilla/encode
...
Update links after moving to encode org
2017-04-07 17:20:51 +01:00
Robert Kirberich
9ebd5a29e4
Update existing vary headers in response instead of overwriting them.
...
Previously, any existing vary headers would simply be wiped out by DRF. Using patch_vary_headers assures that existing headers remain.
2017-04-07 17:06:09 +01:00
José Padilla
c1f31492ae
Update links after moving to encode org
2017-04-07 10:28:35 -04:00
Tom Christie
bbe0df2916
Merge pull request #5053 from s-m-b/patch-1
...
Pass initkwargs stored on view to instance
2017-04-07 08:29:34 +01:00
Tom Christie
95df489808
Merge pull request #5055 from sigmavirus24/bug/5054
...
Use overridden settings exception handler
2017-04-07 08:27:18 +01:00
Ian Cordasco
c2ee1b3033
Use overridden settings exception handler
...
Instead of using the api_settings exception handler, we use the
overridden settings attribute to find the correct handler.
Closes #5054
2017-04-06 14:05:29 -05:00
s-m-b
f1ca71ce21
Pass initkwargs stored on view to instance
2017-04-06 16:38:28 +04:00
Tom Christie
5e6b233977
Merge pull request #5040 from minusf/master
...
fix whitespace in code example
2017-03-30 12:31:48 +01:00
minusf
471065ebc6
Update 7-schemas-and-client-libraries.md
2017-03-30 12:28:55 +02:00