mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-14 21:56:59 +03:00
Update documentation
This commit is contained in:
parent
5816c561b2
commit
f21bf4d6dd
|
@ -779,7 +779,6 @@ class ExampleAuthentication(authentication.BaseAuthentication):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -484,7 +484,6 @@ class NoNegotiationView(APIView):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -559,7 +559,6 @@ class ServiceUnavailable(APIException):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -971,7 +971,6 @@ def to_internal_value(self, data):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -774,7 +774,6 @@ class ProductFilter(django_filters.FilterSet):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -450,7 +450,6 @@ def comment_list(request, format=None):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -787,7 +787,6 @@ class BaseRetrieveUpdateDestroyView(MultipleFieldLookupMixin,
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -558,7 +558,6 @@ class CustomPaginationSerializer(pagination.BasePaginationSerializer):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -598,7 +598,6 @@ def parse(self, stream, media_type=None, parser_context=None):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -650,7 +650,6 @@ class BlacklistPermission(permissions.BasePermission):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -866,7 +866,6 @@ attributes are not configured to correctly match the URL conf.</p>
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -817,7 +817,6 @@ In this case you can underspecify the media types it should respond to, by using
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -564,7 +564,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -505,7 +505,6 @@ response['Cache-Control'] = 'no-cache'
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -438,7 +438,6 @@ class APIRootView(APIView):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -653,7 +653,6 @@ app.router.register_model(MyModel)
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -1322,7 +1322,6 @@ def all_high_scores(request):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -695,7 +695,6 @@ If set to <code>None</code> then generic filtering is disabled.</p>
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -510,7 +510,6 @@ is_server_error() # 5xx
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -672,7 +672,6 @@ self.assertEqual(response.content, '{"username": "lauren", "id": 4}')
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -581,7 +581,6 @@ class UploadView(APIView):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -620,7 +620,6 @@ It has two required arguments, and a single optional <code>messages</code> argum
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -549,7 +549,6 @@ def view(request):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -634,7 +634,6 @@ class UserViewSet(viewsets.ModelViewSet):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -688,7 +688,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
|
||||||
<script src="./js/jquery-1.8.1-min.js"></script>
|
<script src="./js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="./js/prettify-1.0.js"></script>
|
<script src="./js/prettify-1.0.js"></script>
|
||||||
<script src="./js/bootstrap-2.1.1-min.js"></script>
|
<script src="./js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="./js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -345,7 +345,7 @@
|
||||||
|
|
||||||
|
|
||||||
<li class="main">
|
<li class="main">
|
||||||
<a href="#django-rest-framework-22">Django REST framework 2.2</a>
|
<a href="#rest-framework-22-announcement">REST framework 2.2 announcement</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
@ -378,7 +378,7 @@
|
||||||
<div id="main-content" class="span9">
|
<div id="main-content" class="span9">
|
||||||
|
|
||||||
|
|
||||||
<h1 id="django-rest-framework-22">Django REST framework 2.2</h1>
|
<h1 id="rest-framework-22-announcement">REST framework 2.2 announcement</h1>
|
||||||
<p>The 2.2 release represents an important point for REST framework, with the addition of Python 3 support, and the introduction of an official deprecation policy.</p>
|
<p>The 2.2 release represents an important point for REST framework, with the addition of Python 3 support, and the introduction of an official deprecation policy.</p>
|
||||||
<h2 id="python-3-support">Python 3 support</h2>
|
<h2 id="python-3-support">Python 3 support</h2>
|
||||||
<p>Thanks to some fantastic work from <a href="https://github.com/xordoquy">Xavier Ordoquy</a>, Django REST framework 2.2 now supports Python 3. You'll need to be running Django 1.5, and it's worth keeping in mind that Django's Python 3 support is currently <a href="https://docs.djangoproject.com/en/dev/faq/install/#can-i-use-django-with-python-3">considered experimental</a>.</p>
|
<p>Thanks to some fantastic work from <a href="https://github.com/xordoquy">Xavier Ordoquy</a>, Django REST framework 2.2 now supports Python 3. You'll need to be running Django 1.5, and it's worth keeping in mind that Django's Python 3 support is currently <a href="https://docs.djangoproject.com/en/dev/faq/install/#can-i-use-django-with-python-3">considered experimental</a>.</p>
|
||||||
|
@ -510,7 +510,6 @@ serializer.data
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -345,7 +345,7 @@
|
||||||
|
|
||||||
|
|
||||||
<li class="main">
|
<li class="main">
|
||||||
<a href="#django-rest-framework-23">Django REST framework 2.3</a>
|
<a href="#rest-framework-23-announcement">REST framework 2.3 announcement</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
@ -434,7 +434,7 @@
|
||||||
<div id="main-content" class="span9">
|
<div id="main-content" class="span9">
|
||||||
|
|
||||||
|
|
||||||
<h1 id="django-rest-framework-23">Django REST framework 2.3</h1>
|
<h1 id="rest-framework-23-announcement">REST framework 2.3 announcement</h1>
|
||||||
<p>REST framework 2.3 makes it even quicker and easier to build your Web APIs.</p>
|
<p>REST framework 2.3 makes it even quicker and easier to build your Web APIs.</p>
|
||||||
<h2 id="viewsets-and-routers">ViewSets and Routers</h2>
|
<h2 id="viewsets-and-routers">ViewSets and Routers</h2>
|
||||||
<p>The 2.3 release introduces the <a href="../../api-guide/viewsets">ViewSet</a> and <a href="../../api-guide/routers">Router</a> classes.</p>
|
<p>The 2.3 release introduces the <a href="../../api-guide/viewsets">ViewSet</a> and <a href="../../api-guide/routers">Router</a> classes.</p>
|
||||||
|
@ -647,7 +647,6 @@ urlpatterns = [
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -345,7 +345,7 @@
|
||||||
|
|
||||||
|
|
||||||
<li class="main">
|
<li class="main">
|
||||||
<a href="#django-rest-framework-24">Django REST framework 2.4</a>
|
<a href="#rest-framework-24-announcement">REST framework 2.4 announcement</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
@ -402,7 +402,7 @@
|
||||||
<div id="main-content" class="span9">
|
<div id="main-content" class="span9">
|
||||||
|
|
||||||
|
|
||||||
<h1 id="django-rest-framework-24">Django REST framework 2.4</h1>
|
<h1 id="rest-framework-24-announcement">REST framework 2.4 announcement</h1>
|
||||||
<p>The 2.4 release is largely an intermediate step, tying up some outstanding issues prior to the 3.x series.</p>
|
<p>The 2.4 release is largely an intermediate step, tying up some outstanding issues prior to the 3.x series.</p>
|
||||||
<h2 id="version-requirements">Version requirements</h2>
|
<h2 id="version-requirements">Version requirements</h2>
|
||||||
<p>Support for Django 1.3 has been dropped.
|
<p>Support for Django 1.3 has been dropped.
|
||||||
|
@ -533,7 +533,6 @@ The lowest supported version of Django is now 1.4.2.</p>
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -426,7 +426,7 @@
|
||||||
<hr />
|
<hr />
|
||||||
<h4 id="rest-framework-under-the-hood">REST framework: Under the hood.</h4>
|
<h4 id="rest-framework-under-the-hood">REST framework: Under the hood.</h4>
|
||||||
<p>This talk from the <a href="http://www.djangounderthehood.com/">Django: Under the Hood</a> event in Amsterdam, Nov 2014, gives some good background context on the design decisions behind 3.0.</p>
|
<p>This talk from the <a href="http://www.djangounderthehood.com/">Django: Under the Hood</a> event in Amsterdam, Nov 2014, gives some good background context on the design decisions behind 3.0.</p>
|
||||||
<iframe style="display: block; margin: 0 auto 0 auto" width="560" height="315" src="//www.youtube.com/embed/3cSsbe-tA0E" frameborder="0" allowfullscreen></iframe>
|
<iframe width="560" height="315" src="//www.youtube.com/embed/3cSsbe-tA0E" frameborder="0" allowfullscreen></iframe>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<p><em>Below is an in-depth guide to the API changes and migration notes for 3.0.</em></p>
|
<p><em>Below is an in-depth guide to the API changes and migration notes for 3.0.</em></p>
|
||||||
|
@ -1165,7 +1165,6 @@ amount = serializers.DecimalField(
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -420,7 +420,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -505,7 +505,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -463,7 +463,6 @@ as well as how to support content types other than form-encoded data.</p>
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -582,7 +582,6 @@ More text...
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -590,7 +590,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -459,7 +459,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -372,7 +372,7 @@
|
||||||
|
|
||||||
<h1 id="kickstarting-django-rest-framework-3">Kickstarting Django REST framework 3</h1>
|
<h1 id="kickstarting-django-rest-framework-3">Kickstarting Django REST framework 3</h1>
|
||||||
<hr />
|
<hr />
|
||||||
<iframe style="display: block; margin: 0 auto 0 auto" width="480" height="360" src="https://www.kickstarter.com/projects/tomchristie/django-rest-framework-3/widget/video.html" frameborder="0" scrolling="no"> </iframe>
|
<iframe width="480" height="360" src="https://www.kickstarter.com/projects/tomchristie/django-rest-framework-3/widget/video.html" frameborder="0" scrolling="no"> </iframe>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<p>In order to continue to drive the project forward, I'm launching a Kickstarter campaign to help fund the development of a major new release - Django REST framework 3.</p>
|
<p>In order to continue to drive the project forward, I'm launching a Kickstarter campaign to help fund the development of a major new release - Django REST framework 3.</p>
|
||||||
|
@ -399,20 +399,20 @@
|
||||||
<h3 id="platinum-sponsors">Platinum sponsors</h3>
|
<h3 id="platinum-sponsors">Platinum sponsors</h3>
|
||||||
<p>Our platinum sponsors have each made a hugely substantial contribution to the future development of Django REST framework, and I simply can't thank them enough.</p>
|
<p>Our platinum sponsors have each made a hugely substantial contribution to the future development of Django REST framework, and I simply can't thank them enough.</p>
|
||||||
<ul class="sponsor diamond">
|
<ul class="sponsor diamond">
|
||||||
<li><a href="https://www.eventbrite.com/" rel="nofollow" style="background-image:url(../../img/sponsors/0-eventbrite.png);">Eventbrite</a></li>
|
<li><a href="https://www.eventbrite.com/" rel="nofollow" style="background-image:url(../../img/sponsors//0-eventbrite.png);">Eventbrite</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="sponsor platinum">
|
<ul class="sponsor platinum">
|
||||||
<li><a href="https://www.divio.ch/" rel="nofollow" style="background-image:url(../../img/sponsors/1-divio.png);">Divio</a></li>
|
<li><a href="https://www.divio.ch/" rel="nofollow" style="background-image:url(../../img/sponsors//1-divio.png);">Divio</a></li>
|
||||||
<li><a href="http://company.onlulu.com/en/" rel="nofollow" style="background-image:url(../../img/sponsors/1-lulu.png);">Lulu</a></li>
|
<li><a href="http://company.onlulu.com/en/" rel="nofollow" style="background-image:url(../../img/sponsors//1-lulu.png);">Lulu</a></li>
|
||||||
<li><a href="https://p.ota.to/" rel="nofollow" style="background-image:url(../../img/sponsors/1-potato.png);">Potato</a></li>
|
<li><a href="https://p.ota.to/" rel="nofollow" style="background-image:url(../../img/sponsors//1-potato.png);">Potato</a></li>
|
||||||
<li><a href="http://www.wiredrive.com/" rel="nofollow" style="background-image:url(../../img/sponsors/1-wiredrive.png);">Wiredrive</a></li>
|
<li><a href="http://www.wiredrive.com/" rel="nofollow" style="background-image:url(../../img/sponsors//1-wiredrive.png);">Wiredrive</a></li>
|
||||||
<li><a href="http://www.cyaninc.com/" rel="nofollow" style="background-image:url(../../img/sponsors/1-cyan.png);">Cyan</a></li>
|
<li><a href="http://www.cyaninc.com/" rel="nofollow" style="background-image:url(../../img/sponsors//1-cyan.png);">Cyan</a></li>
|
||||||
<li><a href="https://www.runscope.com/" rel="nofollow" style="background-image:url(../../img/sponsors/1-runscope.png);">Runscope</a></li>
|
<li><a href="https://www.runscope.com/" rel="nofollow" style="background-image:url(../../img/sponsors//1-runscope.png);">Runscope</a></li>
|
||||||
<li><a href="http://simpleenergy.com/" rel="nofollow" style="background-image:url(../../img/sponsors/1-simple-energy.png);">Simple Energy</a></li>
|
<li><a href="http://simpleenergy.com/" rel="nofollow" style="background-image:url(../../img/sponsors//1-simple-energy.png);">Simple Energy</a></li>
|
||||||
<li><a href="http://vokalinteractive.com/" rel="nofollow" style="background-image:url(../../img/sponsors/1-vokal_interactive.png);">VOKAL Interactive</a></li>
|
<li><a href="http://vokalinteractive.com/" rel="nofollow" style="background-image:url(../../img/sponsors//1-vokal_interactive.png);">VOKAL Interactive</a></li>
|
||||||
<li><a href="http://www.purplebit.com/" rel="nofollow" style="background-image:url(../../img/sponsors/1-purplebit.png);">Purple Bit</a></li>
|
<li><a href="http://www.purplebit.com/" rel="nofollow" style="background-image:url(../../img/sponsors//1-purplebit.png);">Purple Bit</a></li>
|
||||||
<li><a href="http://www.kuwaitnet.net/" rel="nofollow" style="background-image:url(../../img/sponsors/1-kuwaitnet.png);">KuwaitNET</a></li>
|
<li><a href="http://www.kuwaitnet.net/" rel="nofollow" style="background-image:url(../../img/sponsors//1-kuwaitnet.png);">KuwaitNET</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div style="clear: both"></div>
|
<div style="clear: both"></div>
|
||||||
|
@ -421,31 +421,31 @@
|
||||||
<h3 id="gold-sponsors">Gold sponsors</h3>
|
<h3 id="gold-sponsors">Gold sponsors</h3>
|
||||||
<p>Our gold sponsors include companies large and small. Many thanks for their significant funding of the project and their commitment to sustainable open-source development.</p>
|
<p>Our gold sponsors include companies large and small. Many thanks for their significant funding of the project and their commitment to sustainable open-source development.</p>
|
||||||
<ul class="sponsor gold">
|
<ul class="sponsor gold">
|
||||||
<li><a href="https://laterpay.net/" rel="nofollow" style="background-image:url(../../img/sponsors/2-laterpay.png);">LaterPay</a></li>
|
<li><a href="https://laterpay.net/" rel="nofollow" style="background-image:url(../../img/sponsors//2-laterpay.png);">LaterPay</a></li>
|
||||||
<li><a href="https://www.schubergphilis.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-schuberg_philis.png);">Schuberg Philis</a></li>
|
<li><a href="https://www.schubergphilis.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-schuberg_philis.png);">Schuberg Philis</a></li>
|
||||||
<li><a href="http://prorenata.se/" rel="nofollow" style="background-image:url(../../img/sponsors/2-prorenata.png);">ProReNata AB</a></li>
|
<li><a href="http://prorenata.se/" rel="nofollow" style="background-image:url(../../img/sponsors//2-prorenata.png);">ProReNata AB</a></li>
|
||||||
<li><a href="https://www.sgawebsites.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-sga.png);">SGA Websites</a></li>
|
<li><a href="https://www.sgawebsites.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-sga.png);">SGA Websites</a></li>
|
||||||
<li><a href="http://www.sirono.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-sirono.png);">Sirono</a></li>
|
<li><a href="http://www.sirono.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-sirono.png);">Sirono</a></li>
|
||||||
<li><a href="http://www.vinta.com.br/" rel="nofollow" style="background-image:url(../../img/sponsors/2-vinta.png);">Vinta Software Studio</a></li>
|
<li><a href="http://www.vinta.com.br/" rel="nofollow" style="background-image:url(../../img/sponsors//2-vinta.png);">Vinta Software Studio</a></li>
|
||||||
<li><a href="http://www.rapasso.nl/index.php/en" rel="nofollow" style="background-image:url(../../img/sponsors/2-rapasso.png);">Rapasso</a></li>
|
<li><a href="http://www.rapasso.nl/index.php/en" rel="nofollow" style="background-image:url(../../img/sponsors//2-rapasso.png);">Rapasso</a></li>
|
||||||
<li><a href="https://mirusresearch.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-mirus_research.png);">Mirus Research</a></li>
|
<li><a href="https://mirusresearch.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-mirus_research.png);">Mirus Research</a></li>
|
||||||
<li><a href="http://hipolabs.com" rel="nofollow" style="background-image:url(../../img/sponsors/2-hipo.png);">Hipo</a></li>
|
<li><a href="http://hipolabs.com" rel="nofollow" style="background-image:url(../../img/sponsors//2-hipo.png);">Hipo</a></li>
|
||||||
<li><a href="http://www.byte.nl" rel="nofollow" style="background-image:url(../../img/sponsors/2-byte.png);">Byte</a></li>
|
<li><a href="http://www.byte.nl" rel="nofollow" style="background-image:url(../../img/sponsors//2-byte.png);">Byte</a></li>
|
||||||
<li><a href="http://lightningkite.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-lightning_kite.png);">Lightning Kite</a></li>
|
<li><a href="http://lightningkite.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-lightning_kite.png);">Lightning Kite</a></li>
|
||||||
<li><a href="https://opbeat.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-opbeat.png);">Opbeat</a></li>
|
<li><a href="https://opbeat.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-opbeat.png);">Opbeat</a></li>
|
||||||
<li><a href="https://koordinates.com" rel="nofollow" style="background-image:url(../../img/sponsors/2-koordinates.png);">Koordinates</a></li>
|
<li><a href="https://koordinates.com" rel="nofollow" style="background-image:url(../../img/sponsors//2-koordinates.png);">Koordinates</a></li>
|
||||||
<li><a href="http://pulsecode.ca" rel="nofollow" style="background-image:url(../../img/sponsors/2-pulsecode.png);">Pulsecode Inc.</a></li>
|
<li><a href="http://pulsecode.ca" rel="nofollow" style="background-image:url(../../img/sponsors//2-pulsecode.png);">Pulsecode Inc.</a></li>
|
||||||
<li><a href="http://singinghorsestudio.com" rel="nofollow" style="background-image:url(../../img/sponsors/2-singing-horse.png);">Singing Horse Studio Ltd.</a></li>
|
<li><a href="http://singinghorsestudio.com" rel="nofollow" style="background-image:url(../../img/sponsors//2-singing-horse.png);">Singing Horse Studio Ltd.</a></li>
|
||||||
<li><a href="https://www.heroku.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-heroku.png);">Heroku</a></li>
|
<li><a href="https://www.heroku.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-heroku.png);">Heroku</a></li>
|
||||||
<li><a href="https://www.galileo-press.de/" rel="nofollow" style="background-image:url(../../img/sponsors/2-galileo_press.png);">Galileo Press</a></li>
|
<li><a href="https://www.galileo-press.de/" rel="nofollow" style="background-image:url(../../img/sponsors//2-galileo_press.png);">Galileo Press</a></li>
|
||||||
<li><a href="http://www.securitycompass.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-security_compass.png);">Security Compass</a></li>
|
<li><a href="http://www.securitycompass.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-security_compass.png);">Security Compass</a></li>
|
||||||
<li><a href="https://www.djangoproject.com/foundation/" rel="nofollow" style="background-image:url(../../img/sponsors/2-django.png);">Django Software Foundation</a></li>
|
<li><a href="https://www.djangoproject.com/foundation/" rel="nofollow" style="background-image:url(../../img/sponsors//2-django.png);">Django Software Foundation</a></li>
|
||||||
<li><a href="http://www.hipflaskapp.com" rel="nofollow" style="background-image:url(../../img/sponsors/2-hipflask.png);">Hipflask</a></li>
|
<li><a href="http://www.hipflaskapp.com" rel="nofollow" style="background-image:url(../../img/sponsors//2-hipflask.png);">Hipflask</a></li>
|
||||||
<li><a href="http://www.crate.io/" rel="nofollow" style="background-image:url(../../img/sponsors/2-crate.png);">Crate</a></li>
|
<li><a href="http://www.crate.io/" rel="nofollow" style="background-image:url(../../img/sponsors//2-crate.png);">Crate</a></li>
|
||||||
<li><a href="http://crypticocorp.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-cryptico.png);">Cryptico Corp</a></li>
|
<li><a href="http://crypticocorp.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-cryptico.png);">Cryptico Corp</a></li>
|
||||||
<li><a href="http://www.nexthub.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-nexthub.png);">NextHub</a></li>
|
<li><a href="http://www.nexthub.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-nexthub.png);">NextHub</a></li>
|
||||||
<li><a href="https://www.compile.com/" rel="nofollow" style="background-image:url(../../img/sponsors/2-compile.png);">Compile</a></li>
|
<li><a href="https://www.compile.com/" rel="nofollow" style="background-image:url(../../img/sponsors//2-compile.png);">Compile</a></li>
|
||||||
<li><a href="http://wusawork.org" rel="nofollow" style="background-image:url(../../img/sponsors/2-wusawork.png);">WusaWork</a></li>
|
<li><a href="http://wusawork.org" rel="nofollow" style="background-image:url(../../img/sponsors//2-wusawork.png);">WusaWork</a></li>
|
||||||
<li><a href="http://envisionlinux.org/blog" rel="nofollow">Envision Linux</a></li>
|
<li><a href="http://envisionlinux.org/blog" rel="nofollow">Envision Linux</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -455,41 +455,41 @@
|
||||||
<h3 id="silver-sponsors">Silver sponsors</h3>
|
<h3 id="silver-sponsors">Silver sponsors</h3>
|
||||||
<p>The serious financial contribution that our silver sponsors have made is very much appreciated. I'd like to say a particular thank you to individuals who have choosen to privately support the project at this level.</p>
|
<p>The serious financial contribution that our silver sponsors have made is very much appreciated. I'd like to say a particular thank you to individuals who have choosen to privately support the project at this level.</p>
|
||||||
<ul class="sponsor silver">
|
<ul class="sponsor silver">
|
||||||
<li><a href="http://www.imtapps.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-imt_computer_services.png);">IMT Computer Services</a></li>
|
<li><a href="http://www.imtapps.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-imt_computer_services.png);">IMT Computer Services</a></li>
|
||||||
<li><a href="http://wildfish.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-wildfish.png);">Wildfish</a></li>
|
<li><a href="http://wildfish.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-wildfish.png);">Wildfish</a></li>
|
||||||
<li><a href="http://www.thermondo.de/" rel="nofollow" style="background-image:url(../../img/sponsors/3-thermondo-gmbh.png);">Thermondo GmbH</a></li>
|
<li><a href="http://www.thermondo.de/" rel="nofollow" style="background-image:url(../../img/sponsors//3-thermondo-gmbh.png);">Thermondo GmbH</a></li>
|
||||||
<li><a href="http://providenz.fr/" rel="nofollow" style="background-image:url(../../img/sponsors/3-providenz.png);">Providenz</a></li>
|
<li><a href="http://providenz.fr/" rel="nofollow" style="background-image:url(../../img/sponsors//3-providenz.png);">Providenz</a></li>
|
||||||
<li><a href="https://www.alwaysdata.com" rel="nofollow" style="background-image:url(../../img/sponsors/3-alwaysdata.png);">alwaysdata.com</a></li>
|
<li><a href="https://www.alwaysdata.com" rel="nofollow" style="background-image:url(../../img/sponsors//3-alwaysdata.png);">alwaysdata.com</a></li>
|
||||||
<li><a href="http://www.triggeredmessaging.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-triggered_messaging.png);">Triggered Messaging</a></li>
|
<li><a href="http://www.triggeredmessaging.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-triggered_messaging.png);">Triggered Messaging</a></li>
|
||||||
<li><a href="https://www.ipushpull.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-ipushpull.png);">PushPull Technology Ltd</a></li>
|
<li><a href="https://www.ipushpull.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-ipushpull.png);">PushPull Technology Ltd</a></li>
|
||||||
<li><a href="http://www.transcode.de/" rel="nofollow" style="background-image:url(../../img/sponsors/3-transcode.png);">Transcode</a></li>
|
<li><a href="http://www.transcode.de/" rel="nofollow" style="background-image:url(../../img/sponsors//3-transcode.png);">Transcode</a></li>
|
||||||
<li><a href="https://garfo.io/" rel="nofollow" style="background-image:url(../../img/sponsors/3-garfo.png);">Garfo</a></li>
|
<li><a href="https://garfo.io/" rel="nofollow" style="background-image:url(../../img/sponsors//3-garfo.png);">Garfo</a></li>
|
||||||
<li><a href="https://goshippo.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-shippo.png);">Shippo</a></li>
|
<li><a href="https://goshippo.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-shippo.png);">Shippo</a></li>
|
||||||
<li><a href="http://www.gizmag.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-gizmag.png);">Gizmag</a></li>
|
<li><a href="http://www.gizmag.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-gizmag.png);">Gizmag</a></li>
|
||||||
<li><a href="http://www.tivix.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-tivix.png);">Tivix</a></li>
|
<li><a href="http://www.tivix.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-tivix.png);">Tivix</a></li>
|
||||||
<li><a href="http://www.safaribooksonline.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-safari.png);">Safari</a></li>
|
<li><a href="http://www.safaribooksonline.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-safari.png);">Safari</a></li>
|
||||||
<li><a href="http://brightloop.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-brightloop.png);">Bright Loop</a></li>
|
<li><a href="http://brightloop.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-brightloop.png);">Bright Loop</a></li>
|
||||||
<li><a href="http://www.aba-systems.com.au/" rel="nofollow" style="background-image:url(../../img/sponsors/3-aba.png);">ABA Systems</a></li>
|
<li><a href="http://www.aba-systems.com.au/" rel="nofollow" style="background-image:url(../../img/sponsors//3-aba.png);">ABA Systems</a></li>
|
||||||
<li><a href="http://beefarm.ru/" rel="nofollow" style="background-image:url(../../img/sponsors/3-beefarm.png);">beefarm.ru</a></li>
|
<li><a href="http://beefarm.ru/" rel="nofollow" style="background-image:url(../../img/sponsors//3-beefarm.png);">beefarm.ru</a></li>
|
||||||
<li><a href="http://www.vzzual.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-vzzual.png);">Vzzual.com</a></li>
|
<li><a href="http://www.vzzual.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-vzzual.png);">Vzzual.com</a></li>
|
||||||
<li><a href="http://infinite-code.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-infinite_code.png);">Infinite Code</a></li>
|
<li><a href="http://infinite-code.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-infinite_code.png);">Infinite Code</a></li>
|
||||||
<li><a href="http://crosswordtracker.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-crosswordtracker.png);">Crossword Tracker</a></li>
|
<li><a href="http://crosswordtracker.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-crosswordtracker.png);">Crossword Tracker</a></li>
|
||||||
<li><a href="https://www.pkgfarm.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-pkgfarm.png);">PkgFarm</a></li>
|
<li><a href="https://www.pkgfarm.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-pkgfarm.png);">PkgFarm</a></li>
|
||||||
<li><a href="http://life.tl/" rel="nofollow" style="background-image:url(../../img/sponsors/3-life_the_game.png);">Life. The Game.</a></li>
|
<li><a href="http://life.tl/" rel="nofollow" style="background-image:url(../../img/sponsors//3-life_the_game.png);">Life. The Game.</a></li>
|
||||||
<li><a href="http://blimp.io/" rel="nofollow" style="background-image:url(../../img/sponsors/3-blimp.png);">Blimp</a></li>
|
<li><a href="http://blimp.io/" rel="nofollow" style="background-image:url(../../img/sponsors//3-blimp.png);">Blimp</a></li>
|
||||||
<li><a href="http://pathwright.com" rel="nofollow" style="background-image:url(../../img/sponsors/3-pathwright.png);">Pathwright</a></li>
|
<li><a href="http://pathwright.com" rel="nofollow" style="background-image:url(../../img/sponsors//3-pathwright.png);">Pathwright</a></li>
|
||||||
<li><a href="http://fluxility.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-fluxility.png);">Fluxility</a></li>
|
<li><a href="http://fluxility.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-fluxility.png);">Fluxility</a></li>
|
||||||
<li><a href="http://teonite.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-teonite.png);">Teonite</a></li>
|
<li><a href="http://teonite.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-teonite.png);">Teonite</a></li>
|
||||||
<li><a href="http://trackmaven.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-trackmaven.png);">TrackMaven</a></li>
|
<li><a href="http://trackmaven.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-trackmaven.png);">TrackMaven</a></li>
|
||||||
<li><a href="http://www.phurba.net/" rel="nofollow" style="background-image:url(../../img/sponsors/3-phurba.png);">Phurba</a></li>
|
<li><a href="http://www.phurba.net/" rel="nofollow" style="background-image:url(../../img/sponsors//3-phurba.png);">Phurba</a></li>
|
||||||
<li><a href="http://www.nephila.co.uk/" rel="nofollow" style="background-image:url(../../img/sponsors/3-nephila.png);">Nephila</a></li>
|
<li><a href="http://www.nephila.co.uk/" rel="nofollow" style="background-image:url(../../img/sponsors//3-nephila.png);">Nephila</a></li>
|
||||||
<li><a href="http://www.aditium.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-aditium.png);">Aditium</a></li>
|
<li><a href="http://www.aditium.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-aditium.png);">Aditium</a></li>
|
||||||
<li><a href="http://www.eyesopen.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-openeye.png);">OpenEye Scientific Software</a></li>
|
<li><a href="http://www.eyesopen.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-openeye.png);">OpenEye Scientific Software</a></li>
|
||||||
<li><a href="https://holvi.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-holvi.png);">Holvi</a></li>
|
<li><a href="https://holvi.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-holvi.png);">Holvi</a></li>
|
||||||
<li><a href="http://cantemo.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-cantemo.gif);">Cantemo</a></li>
|
<li><a href="http://cantemo.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-cantemo.gif);">Cantemo</a></li>
|
||||||
<li><a href="https://www.makespace.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-makespace.png);">MakeSpace</a></li>
|
<li><a href="https://www.makespace.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-makespace.png);">MakeSpace</a></li>
|
||||||
<li><a href="https://www.ax-semantics.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-ax_semantics.png);">AX Semantics</a></li>
|
<li><a href="https://www.ax-semantics.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-ax_semantics.png);">AX Semantics</a></li>
|
||||||
<li><a href="http://istrategylabs.com/" rel="nofollow" style="background-image:url(../../img/sponsors/3-isl.png);">ISL</a></li>
|
<li><a href="http://istrategylabs.com/" rel="nofollow" style="background-image:url(../../img/sponsors//3-isl.png);">ISL</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div style="clear: both; padding-bottom: 40px;"></div>
|
<div style="clear: both; padding-bottom: 40px;"></div>
|
||||||
|
@ -527,7 +527,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -962,7 +962,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -345,7 +345,7 @@
|
||||||
|
|
||||||
|
|
||||||
<li class="main">
|
<li class="main">
|
||||||
<a href="#django-rest-framework-20">Django REST framework 2.0</a>
|
<a href="#django-rest-framework-2">Django REST framework 2</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
@ -394,7 +394,8 @@
|
||||||
<div id="main-content" class="span9">
|
<div id="main-content" class="span9">
|
||||||
|
|
||||||
|
|
||||||
<h1 id="django-rest-framework-20">Django REST framework 2.0</h1>
|
<h1 id="django-rest-framework-2">Django REST framework 2</h1>
|
||||||
|
<p>What it is, and why you should care.</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>Most people just make the mistake that it should be simple to design simple things. In reality, the effort required to design something is inversely proportional to the simplicity of the result.</p>
|
<p>Most people just make the mistake that it should be simple to design simple things. In reality, the effort required to design something is inversely proportional to the simplicity of the result.</p>
|
||||||
<p>— <a href="http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven#comment-724">Roy Fielding</a></p>
|
<p>— <a href="http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven#comment-724">Roy Fielding</a></p>
|
||||||
|
@ -469,7 +470,6 @@
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -423,7 +423,6 @@ the Design of Network-based Software Architectures</a>.</li>
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -379,10 +379,6 @@
|
||||||
|
|
||||||
|
|
||||||
<h1 id="third-party-resources">Third Party Resources</h1>
|
<h1 id="third-party-resources">Third Party Resources</h1>
|
||||||
<blockquote>
|
|
||||||
<p>Software ecosystems […] establish a community that further accelerates the sharing of knowledge, content, issues, expertise and skills.</p>
|
|
||||||
<p>— <a href="http://www.software-ecosystems.com/Software_Ecosystems/Ecosystems.html">Jan Bosch</a>.</p>
|
|
||||||
</blockquote>
|
|
||||||
<h2 id="about-third-party-packages">About Third Party Packages</h2>
|
<h2 id="about-third-party-packages">About Third Party Packages</h2>
|
||||||
<p>Third Party Packages allow developers to share code that extends the functionality of Django REST framework, in order to support additional use-cases.</p>
|
<p>Third Party Packages allow developers to share code that extends the functionality of Django REST framework, in order to support additional use-cases.</p>
|
||||||
<p>We <strong>support</strong>, <strong>encourage</strong> and <strong>strongly favor</strong> the creation of Third Party Packages to encapsulate new behavior rather than adding additional functionality directly to Django REST Framework.</p>
|
<p>We <strong>support</strong>, <strong>encourage</strong> and <strong>strongly favor</strong> the creation of Third Party Packages to encapsulate new behavior rather than adding additional functionality directly to Django REST Framework.</p>
|
||||||
|
@ -603,7 +599,6 @@ You probably want to also tag the version now:
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -747,7 +747,6 @@ HTTP/1.1 200 OK
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -583,7 +583,6 @@ http --json POST http://127.0.0.1:8000/snippets/ code="print 456"
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -527,7 +527,6 @@ class SnippetDetail(generics.RetrieveUpdateDestroyAPIView):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -594,7 +594,6 @@ class IsOwnerOrReadOnly(permissions.BasePermission):
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -447,7 +447,7 @@ We'll add a url pattern for our new API root in <code>snippets/urls.py</code>:</
|
||||||
</ul>
|
</ul>
|
||||||
<p>We can easily re-write our existing serializers to use hyperlinking. In your <code>snippets/serializers.py</code> add:</p>
|
<p>We can easily re-write our existing serializers to use hyperlinking. In your <code>snippets/serializers.py</code> add:</p>
|
||||||
<pre><code>class SnippetSerializer(serializers.HyperlinkedModelSerializer):
|
<pre><code>class SnippetSerializer(serializers.HyperlinkedModelSerializer):
|
||||||
owner = serializers.Field(source='owner.username')
|
owner = serializers.ReadOnlyField(source='owner.username')
|
||||||
highlight = serializers.HyperlinkedIdentityField(view_name='snippet-highlight', format='html')
|
highlight = serializers.HyperlinkedIdentityField(view_name='snippet-highlight', format='html')
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
@ -457,7 +457,7 @@ We'll add a url pattern for our new API root in <code>snippets/urls.py</code>:</
|
||||||
|
|
||||||
|
|
||||||
class UserSerializer(serializers.HyperlinkedModelSerializer):
|
class UserSerializer(serializers.HyperlinkedModelSerializer):
|
||||||
snippets = serializers.HyperlinkedRelatedField(many=True, view_name='snippet-detail', read_only=True)
|
snippets = serializers.HyperlinkedRelatedField(many=True, view_name='snippet-detail')
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = User
|
model = User
|
||||||
|
@ -537,7 +537,6 @@ urlpatterns += [
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -527,7 +527,6 @@ urlpatterns = [
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
|
@ -573,7 +573,6 @@ HTTP/1.1 200 OK
|
||||||
<script src="../../js/jquery-1.8.1-min.js"></script>
|
<script src="../../js/jquery-1.8.1-min.js"></script>
|
||||||
<script src="../../js/prettify-1.0.js"></script>
|
<script src="../../js/prettify-1.0.js"></script>
|
||||||
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
<script src="../../js/bootstrap-2.1.1-min.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
//$('.side-nav').scrollspy()
|
//$('.side-nav').scrollspy()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user