mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-30 19:24:40 +03:00
New docs build with logo
This commit is contained in:
parent
f49f0ad830
commit
8561fa93c1
BIN
img/logo.png
Normal file
BIN
img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
20
index.html
20
index.html
|
@ -193,7 +193,7 @@
|
|||
</div>
|
||||
|
||||
<div id="main-content" class="span9">
|
||||
<p class="badges">
|
||||
<p class="badges" height=20px>
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=tomchristie&repo=django-rest-framework&type=watch&count=true" class="github-star-button" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
|
||||
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-url="django-rest-framework.org" data-text="Checking out the totally awesome Django REST framework! http://django-rest-framework.org" data-count="none"></a>
|
||||
|
@ -202,8 +202,15 @@
|
|||
<img src="https://secure.travis-ci.org/tomchristie/django-rest-framework.png?branch=master" class="travis-build-image">
|
||||
</p>
|
||||
|
||||
<h1 id="django-rest-framework">Django REST framework</h1>
|
||||
<p><strong>Awesome web-browsable Web APIs.</strong></p>
|
||||
<hr />
|
||||
<p>
|
||||
<img src="img/logo.png" width=600px style="display: block; margin: 0 auto 0 auto">
|
||||
</p>
|
||||
|
||||
<!--
|
||||
# Django REST framework
|
||||
-->
|
||||
|
||||
<p>Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs.</p>
|
||||
<p>Some reasons you might want to use REST framework:</p>
|
||||
<ul>
|
||||
|
@ -212,10 +219,12 @@
|
|||
<li><a href="api-guide/serializers">Serialization</a> that supports both <a href="api-guide/serializers#modelserializer">ORM</a> and <a href="api-guide/serializers#serializers">non-ORM</a> data sources.</li>
|
||||
<li>Customizable all the way down - just use <a href="api-guide/views#function-based-views">regular function-based views</a> if you don't need the <a href="api-guide/generic-views">more</a> <a href="api-guide/viewsets">powerful</a> <a href="api-guide/routers">features</a>.</li>
|
||||
<li><a href=".">Extensive documentation</a>, and <a href="https://groups.google.com/forum/?fromgroups#!forum/django-rest-framework">great community support</a>.</li>
|
||||
<li>Used and trusted by large companies such as <a href="http://www.mozilla.org/en-US/about/">Mozilla</a> and <a href="https://www.eventbrite.co.uk/about/">Eventbrite</a>.</li>
|
||||
</ul>
|
||||
<p>There is a live example API for testing purposes, <a href="http://restframework.herokuapp.com/">available here</a>.</p>
|
||||
<p><strong>Below</strong>: <em>Screenshot from the browsable API</em></p>
|
||||
<hr />
|
||||
<p><img alt="Screenshot" src="img/quickstart.png" /></p>
|
||||
<p><strong>Above</strong>: <em>Screenshot from the browsable API</em></p>
|
||||
<hr />
|
||||
<h2 id="requirements">Requirements</h2>
|
||||
<p>REST framework requires the following:</p>
|
||||
<ul>
|
||||
|
@ -312,6 +321,7 @@ urlpatterns = patterns('',
|
|||
<li><a href="tutorial/5-relationships-and-hyperlinked-apis">5 - Relationships & hyperlinked APIs</a></li>
|
||||
<li><a href="tutorial/6-viewsets-and-routers">6 - Viewsets & routers</a></li>
|
||||
</ul>
|
||||
<p>There is a live example API of the finished tutorial API for testing purposes, <a href="http://restframework.herokuapp.com/">available here</a>.</p>
|
||||
<h2 id="api-guide">API Guide</h2>
|
||||
<p>The API guide is your complete reference manual to all the functionality provided by REST framework.</p>
|
||||
<ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user