mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-29 02:34:13 +03:00
Deployed 449ec1d
with MkDocs version: 0.15.3
This commit is contained in:
parent
38486b2d15
commit
3c7f07bc67
|
@ -776,9 +776,9 @@ color_channel = serializers.ChoiceField(
|
|||
<h2 id="datetimefield"><a class="toclink" href="#datetimefield">DateTimeField</a></h2>
|
||||
<p>A date and time representation.</p>
|
||||
<p>Corresponds to <code>django.db.models.fields.DateTimeField</code>.</p>
|
||||
<p><strong>Signature:</strong> <code>DateTimeField(format=None, input_formats=None)</code></p>
|
||||
<p><strong>Signature:</strong> <code>DateTimeField(format=api_settings.DATETIME_FORMAT, input_formats=None)</code></p>
|
||||
<ul>
|
||||
<li><code>format</code> - A string representing the output format. If not specified, this defaults to the same value as the <code>DATETIME_FORMAT</code> settings key, which will be <code>'iso-8601'</code> unless set. Setting to a format string indicates that <code>to_representation</code> return values should be coerced to string output. Format strings are described below. Setting this value to <code>None</code> indicates that Python <code>datetime</code> objects should be returned by <code>to_representation</code>. In this case the datetime encoding will be determined by the renderer.</li>
|
||||
<li><code>format</code> - A string representing the output format. If not specified, this defaults to the same value as the <code>DATETIME_FORMAT</code> settings key, which will be <code>'iso-8601'</code> unless set. Setting to a format string indicates that <code>to_representation</code> return values should be coerced to string output. Format strings are described below. Setting this value to <code>None</code> indicates that Python <code>datetime</code> objects should be returned by <code>to_representation</code>. In this case the datetime encoding will be determined by the renderer.</li>
|
||||
<li><code>input_formats</code> - A list of strings representing the input formats which may be used to parse the date. If not specified, the <code>DATETIME_INPUT_FORMATS</code> setting will be used, which defaults to <code>['iso-8601']</code>.</li>
|
||||
</ul>
|
||||
<h4 id="datetimefield-format-strings"><a class="toclink" href="#datetimefield-format-strings"><code>DateTimeField</code> format strings.</a></h4>
|
||||
|
@ -797,7 +797,7 @@ color_channel = serializers.ChoiceField(
|
|||
<h2 id="datefield"><a class="toclink" href="#datefield">DateField</a></h2>
|
||||
<p>A date representation.</p>
|
||||
<p>Corresponds to <code>django.db.models.fields.DateField</code></p>
|
||||
<p><strong>Signature:</strong> <code>DateField(format=None, input_formats=None)</code></p>
|
||||
<p><strong>Signature:</strong> <code>DateField(format=api_settings.DATE_FORMAT, input_formats=None)</code></p>
|
||||
<ul>
|
||||
<li><code>format</code> - A string representing the output format. If not specified, this defaults to the same value as the <code>DATE_FORMAT</code> settings key, which will be <code>'iso-8601'</code> unless set. Setting to a format string indicates that <code>to_representation</code> return values should be coerced to string output. Format strings are described below. Setting this value to <code>None</code> indicates that Python <code>date</code> objects should be returned by <code>to_representation</code>. In this case the date encoding will be determined by the renderer.</li>
|
||||
<li><code>input_formats</code> - A list of strings representing the input formats which may be used to parse the date. If not specified, the <code>DATE_INPUT_FORMATS</code> setting will be used, which defaults to <code>['iso-8601']</code>.</li>
|
||||
|
@ -807,7 +807,7 @@ color_channel = serializers.ChoiceField(
|
|||
<h2 id="timefield"><a class="toclink" href="#timefield">TimeField</a></h2>
|
||||
<p>A time representation.</p>
|
||||
<p>Corresponds to <code>django.db.models.fields.TimeField</code></p>
|
||||
<p><strong>Signature:</strong> <code>TimeField(format=None, input_formats=None)</code></p>
|
||||
<p><strong>Signature:</strong> <code>TimeField(format=api_settings.TIME_FORMAT, input_formats=None)</code></p>
|
||||
<ul>
|
||||
<li><code>format</code> - A string representing the output format. If not specified, this defaults to the same value as the <code>TIME_FORMAT</code> settings key, which will be <code>'iso-8601'</code> unless set. Setting to a format string indicates that <code>to_representation</code> return values should be coerced to string output. Format strings are described below. Setting this value to <code>None</code> indicates that Python <code>time</code> objects should be returned by <code>to_representation</code>. In this case the time encoding will be determined by the renderer.</li>
|
||||
<li><code>input_formats</code> - A list of strings representing the input formats which may be used to parse the date. If not specified, the <code>TIME_INPUT_FORMATS</code> setting will be used, which defaults to <code>['iso-8601']</code>.</li>
|
||||
|
|
|
@ -466,11 +466,13 @@
|
|||
<p>Pagination is only performed automatically if you're using the generic views or viewsets. If you're using a regular <code>APIView</code>, you'll need to call into the pagination API yourself to ensure you return a paginated response. See the source code for the <code>mixins.ListModelMixin</code> and <code>generics.GenericAPIView</code> classes for an example.</p>
|
||||
<p>Pagination can be turned off by setting the pagination class to <code>None</code>.</p>
|
||||
<h2 id="setting-the-pagination-style"><a class="toclink" href="#setting-the-pagination-style">Setting the pagination style</a></h2>
|
||||
<p>The default pagination style may be set globally, using the <code>DEFAULT_PAGINATION_CLASS</code> settings key. For example, to use the built-in limit/offset pagination, you would do:</p>
|
||||
<p>The default pagination style may be set globally, using the <code>DEFAULT_PAGINATION_CLASS</code> and <code>PAGE_SIZE</code> setting keys. For example, to use the built-in limit/offset pagination, you would do something like this:</p>
|
||||
<pre><code>REST_FRAMEWORK = {
|
||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination'
|
||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
|
||||
'PAGE_SIZE': 100
|
||||
}
|
||||
</code></pre>
|
||||
<p>Note that you need to set both the pagination class, and the page size that should be used.</p>
|
||||
<p>You can also set the pagination class on an individual view by using the <code>pagination_class</code> attribute. Typically you'll want to use the same pagination style throughout your API, although you might want to vary individual aspects of the pagination, such as default or maximum page size, on a per-view basis.</p>
|
||||
<h2 id="modifying-the-pagination-style"><a class="toclink" href="#modifying-the-pagination-style">Modifying the pagination style</a></h2>
|
||||
<p>If you want to modify particular aspects of the pagination style, you'll want to override one of the pagination classes, and set the attributes that you want to change.</p>
|
||||
|
@ -535,7 +537,7 @@ class StandardResultsSetPagination(PageNumberPagination):
|
|||
</ul>
|
||||
<hr />
|
||||
<h2 id="limitoffsetpagination"><a class="toclink" href="#limitoffsetpagination">LimitOffsetPagination</a></h2>
|
||||
<p>This pagination style mirrors the syntax used when looking up multiple database records. The client includes both a "limit" and an
|
||||
<p>This pagination style mirrors the syntax used when looking up multiple database records. The client includes both a "limit" and an
|
||||
"offset" query parameter. The limit indicates the maximum number of items to return, and is equivalent to the <code>page_size</code> in other styles. The offset indicates the starting position of the query in relation to the complete set of unpaginated items.</p>
|
||||
<p><strong>Request</strong>:</p>
|
||||
<pre><code>GET https://api.example.org/accounts/?limit=100&offset=400
|
||||
|
|
|
@ -550,9 +550,9 @@ Content-Type: application/vnd.coreapi+json
|
|||
</code></pre>
|
||||
<p>This is a great zero-configuration option for when you want to get up and
|
||||
running really quickly.</p>
|
||||
<p>The only other available option to <code>DefaultRouter</code> is <code>schema_renderers</code>, which
|
||||
may be used to pass the set of renderer classes that can be used to render
|
||||
schema output.</p>
|
||||
<p>The other available options to <code>DefaultRouter</code> are:</p>
|
||||
<h4 id="schema_renderers"><a class="toclink" href="#schema_renderers">schema_renderers</a></h4>
|
||||
<p>May be used to pass the set of renderer classes that can be used to render schema output.</p>
|
||||
<pre><code>from rest_framework.renderers import CoreJSONRenderer
|
||||
from my_custom_package import APIBlueprintRenderer
|
||||
|
||||
|
@ -560,8 +560,19 @@ router = DefaultRouter(schema_title='Server Monitoring API', schema_renderers=[
|
|||
CoreJSONRenderer, APIBlueprintRenderer
|
||||
])
|
||||
</code></pre>
|
||||
<h4 id="schema_url"><a class="toclink" href="#schema_url">schema_url</a></h4>
|
||||
<p>May be used to pass the root URL for the schema. This can either be used to ensure that
|
||||
the schema URLs include a canonical hostname and schema, or to ensure that all the
|
||||
schema URLs include a path prefix.</p>
|
||||
<pre><code>router = DefaultRouter(
|
||||
schema_title='Server Monitoring API',
|
||||
schema_url='https://www.example.org/api/'
|
||||
)
|
||||
</code></pre>
|
||||
<p>If you want more flexibility over the schema output then you'll need to consider
|
||||
using <code>SchemaGenerator</code> instead.</p>
|
||||
<h4 id="root_renderers"><a class="toclink" href="#root_renderers">root_renderers</a></h4>
|
||||
<p>May be used to pass the set of renderer classes that can be used to render the API root endpoint.</p>
|
||||
<h2 id="using-schemagenerator"><a class="toclink" href="#using-schemagenerator">Using SchemaGenerator</a></h2>
|
||||
<p>The most common way to add a schema to your API is to use the <code>SchemaGenerator</code>
|
||||
class to auto-generate the <code>Document</code> instance, and to return that from a view.</p>
|
||||
|
@ -643,12 +654,12 @@ to the Open API ("Swagger") format:</p>
|
|||
from openapi_codec import OpenAPICodec
|
||||
|
||||
class SwaggerRenderer(renderers.BaseRenderer):
|
||||
media_type = 'application/openapi+json;version=2.0'
|
||||
media_type = 'application/openapi+json'
|
||||
format = 'swagger'
|
||||
|
||||
def render(self, data, media_type=None, renderer_context=None):
|
||||
codec = OpenAPICodec()
|
||||
return OpenAPICodec.dump(data)
|
||||
return codec.dump(data)
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h1 id="api-reference"><a class="toclink" href="#api-reference">API Reference</a></h1>
|
||||
|
@ -661,6 +672,7 @@ generate a schema.</p>
|
|||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li><code>title</code> - The name of the API. <strong>required</strong></li>
|
||||
<li><code>url</code> - The root URL of the API schema. This option is not required unless the schema is included under path prefix.</li>
|
||||
<li><code>patterns</code> - A list of URLs to inspect when generating the schema. Defaults to the project's URL conf.</li>
|
||||
<li><code>urlconf</code> - A URL conf module name to use when generating the schema. Defaults to <code>settings.ROOT_URLCONF</code>.</li>
|
||||
</ul>
|
||||
|
|
|
@ -451,6 +451,7 @@ HTTP_203_NON_AUTHORITATIVE_INFORMATION
|
|||
HTTP_204_NO_CONTENT
|
||||
HTTP_205_RESET_CONTENT
|
||||
HTTP_206_PARTIAL_CONTENT
|
||||
HTTP_207_MULTI_STATUS
|
||||
</code></pre>
|
||||
<h2 id="redirection-3xx"><a class="toclink" href="#redirection-3xx">Redirection - 3xx</a></h2>
|
||||
<p>This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request.</p>
|
||||
|
@ -483,6 +484,9 @@ HTTP_414_REQUEST_URI_TOO_LONG
|
|||
HTTP_415_UNSUPPORTED_MEDIA_TYPE
|
||||
HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE
|
||||
HTTP_417_EXPECTATION_FAILED
|
||||
HTTP_422_UNPROCESSABLE_ENTITY
|
||||
HTTP_423_LOCKED
|
||||
HTTP_424_FAILED_DEPENDENCY
|
||||
HTTP_428_PRECONDITION_REQUIRED
|
||||
HTTP_429_TOO_MANY_REQUESTS
|
||||
HTTP_431_REQUEST_HEADER_FIELDS_TOO_LARGE
|
||||
|
@ -496,6 +500,7 @@ HTTP_502_BAD_GATEWAY
|
|||
HTTP_503_SERVICE_UNAVAILABLE
|
||||
HTTP_504_GATEWAY_TIMEOUT
|
||||
HTTP_505_HTTP_VERSION_NOT_SUPPORTED
|
||||
HTTP_507_INSUFFICIENT_STORAGE
|
||||
HTTP_511_NETWORK_AUTHENTICATION_REQUIRED
|
||||
</code></pre>
|
||||
<h2 id="helper-functions"><a class="toclink" href="#helper-functions">Helper functions</a></h2>
|
||||
|
|
File diff suppressed because one or more lines are too long
112
sitemap.xml
112
sitemap.xml
|
@ -4,7 +4,7 @@
|
|||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
|
@ -13,49 +13,49 @@
|
|||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/quickstart/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/1-serialization/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/2-requests-and-responses/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/3-class-based-views/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/4-authentication-and-permissions/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/5-relationships-and-hyperlinked-apis/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/6-viewsets-and-routers/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//tutorial/7-schemas-and-client-libraries/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
|
@ -65,163 +65,163 @@
|
|||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/requests/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/responses/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/views/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/generic-views/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/viewsets/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/routers/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/parsers/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/renderers/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/serializers/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/fields/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/relations/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/validators/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/authentication/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/permissions/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/throttling/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/filtering/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/pagination/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/versioning/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/content-negotiation/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/metadata/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/schemas/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/format-suffixes/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/reverse/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/exceptions/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/status-codes/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/testing/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//api-guide/settings/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
|
@ -231,121 +231,121 @@
|
|||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/documenting-your-api/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/api-clients/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/internationalization/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/ajax-csrf-cors/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/html-and-forms/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/browser-enhancements/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/browsable-api/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/rest-hypermedia-hateoas/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/third-party-resources/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/contributing/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/project-management/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/3.0-announcement/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/3.1-announcement/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/3.2-announcement/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/3.3-announcement/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/3.4-announcement/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/kickstarter-announcement/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/mozilla-grant/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/funding/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://www.django-rest-framework.org//topics/release-notes/</loc>
|
||||
<lastmod>2016-07-18</lastmod>
|
||||
<lastmod>2016-07-28</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
|
||||
|
|
|
@ -446,6 +446,23 @@
|
|||
</code></pre>
|
||||
<hr />
|
||||
<h2 id="34x-series"><a class="toclink" href="#34x-series">3.4.x series</a></h2>
|
||||
<p>### 3.4.1</p>
|
||||
<p><strong>Date</strong>: <a href="https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.1+Release%22">28th July 2016</a></p>
|
||||
<ul>
|
||||
<li>Added <code>root_renderers</code> argument to <code>DefaultRouter</code>. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4323">#4323</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4268">#4268</a>)</li>
|
||||
<li>Added <code>url</code> and <code>schema_url</code> arguments. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4321">#4321</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4308">#4308</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4305">#4305</a>)</li>
|
||||
<li>Unique together checks should apply to read-only fields which have a default. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4316">#4316</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4294">#4294</a>)</li>
|
||||
<li>Set view.format_kwarg in schema generator. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4293">#4293</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4315">#4315</a>)</li>
|
||||
<li>Fix schema generator for views with <code>pagination_class = None</code>. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4314">#4314</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4289">#4289</a>)</li>
|
||||
<li>Fix schema generator for views with no <code>get_serializer_class</code>. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4265">#4265</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4285">#4285</a>)</li>
|
||||
<li>Fixes for media type parameters in <code>Accept</code> and <code>Content-Type</code> headers. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4287">#4287</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4313">#4313</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4281">#4281</a>)</li>
|
||||
<li>Use verbose_name instead of object_name in error messages. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4299">#4299</a>)</li>
|
||||
<li>Minor version update to Twitter Bootstrap. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4307">#4307</a>)</li>
|
||||
<li>SearchFilter raises error when using with related field. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4302">#4302</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4303">#4303</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4298">#4298</a>)</li>
|
||||
<li>Adding support for RFC 4918 status codes. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4291">#4291</a>)</li>
|
||||
<li>Add LICENSE.md to the built wheel. (<a href="https://github.com/tomchristie/django-rest-framework/issues/4270">#4270</a>)</li>
|
||||
<li>Serializing "complex" field returns None instead of the value since 3.4 (<a href="https://github.com/tomchristie/django-rest-framework/issues/4272">#4272</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4273">#4273</a>, <a href="https://github.com/tomchristie/django-rest-framework/issues/4288">#4288</a>)</li>
|
||||
</ul>
|
||||
<h3 id="340"><a class="toclink" href="#340">3.4.0</a></h3>
|
||||
<p><strong>Date</strong>: <a href="https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.0+Release%22">14th July 2016</a></p>
|
||||
<ul>
|
||||
|
@ -862,6 +879,8 @@
|
|||
<!-- 3.3.3 -->
|
||||
|
||||
<!-- 3.4.0 -->
|
||||
|
||||
<!-- 3.4.1 -->
|
||||
|
||||
|
||||
</div> <!--/span-->
|
||||
|
|
|
@ -595,7 +595,7 @@ You probably want to also tag the version now:
|
|||
<ul>
|
||||
<li><a href="http://code.tutsplus.com/tutorials/beginners-guide-to-the-django-rest-framework--cms-19786">Beginner's Guide to the Django Rest Framework</a></li>
|
||||
<li><a href="http://blog.kevinastone.com/getting-started-with-django-rest-framework-and-angularjs.html">Getting Started with Django Rest Framework and AngularJS</a></li>
|
||||
<li><a href="http://blog.mourafiq.com/post/55034504632/end-to-end-web-app-with-django-rest-framework">End to end web app with Django-Rest-Framework & AngularJS</a></li>
|
||||
<li><a href="http://mourafiq.com/2013/07/01/end-to-end-web-app-with-django-angular-1.html">End to end web app with Django-Rest-Framework & AngularJS</a></li>
|
||||
<li><a href="https://godjango.com/41-start-your-api-django-rest-framework-part-1/">Start Your API - django-rest-framework part 1</a></li>
|
||||
<li><a href="https://godjango.com/43-permissions-authentication-django-rest-framework-part-2/">Permissions & Authentication - django-rest-framework part 2</a></li>
|
||||
<li><a href="https://godjango.com/45-viewsets-and-routers-django-rest-framework-part-3/">ViewSets and Routers - django-rest-framework part 3</a></li>
|
||||
|
@ -607,8 +607,6 @@ You probably want to also tag the version now:
|
|||
<ul>
|
||||
<li><a href="http://www.neckbeardrepublic.com/screencasts/ember-and-django-part-1">Ember and Django Part 1 (Video)</a></li>
|
||||
<li><a href="http://www.neckbeardrepublic.com/screencasts/django-rest-framework-part-1">Django Rest Framework Part 1 (Video)</a></li>
|
||||
<li><a href="http://www.youtube.com/watch?v=e1zrehvxpbo">Pyowa July 2013 - Django Rest Framework (Video)</a></li>
|
||||
<li><a href="http://www.youtube.com/watch?v=q8frbgtj020">django-rest-framework and angularjs (Video)</a></li>
|
||||
</ul>
|
||||
<h3 id="articles"><a class="toclink" href="#articles">Articles</a></h3>
|
||||
<ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user