diff options
| author | Tom Christie | 2014-11-03 11:21:29 +0000 | 
|---|---|---|
| committer | Tom Christie | 2014-11-03 11:21:29 +0000 | 
| commit | dd14c6c88ba210bac8349041b8db486576539249 (patch) | |
| tree | 81b1e22fb8080a8d3915ae6a5db95edf87a3bfb6 /index.html | |
| parent | ce165805481988e95887bf62c45cd616af5bba0f (diff) | |
| download | django-rest-framework-dd14c6c88ba210bac8349041b8db486576539249.tar.bz2 | |
Latest docs release
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -253,7 +253,7 @@ a.fusion-poweredby {  <h2 id="requirements">Requirements</h2>  <p>REST framework requires the following:</p>  <ul> -<li>Python (2.6.5+, 2.7, 3.2, 3.3)</li> +<li>Python (2.6.5+, 2.7, 3.2, 3.3, 3.4)</li>  <li>Django (1.4.2+, 1.5, 1.6, 1.7)</li>  </ul>  <p>The following packages are optional:</p> @@ -283,10 +283,10 @@ pip install django-filter  # Filtering support  )  </code></pre>  <p>If you're intending to use the browsable API you'll probably also want to add REST framework's login and logout views.  Add the following to your root <code>urls.py</code> file.</p> -<pre class="prettyprint lang-py"><code>urlpatterns = patterns('', +<pre class="prettyprint lang-py"><code>urlpatterns = [      ...      url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')) -) +]  </code></pre>  <p>Note that the URL path can be whatever you want, but you must include <code>'rest_framework.urls'</code> with the <code>'rest_framework'</code> namespace.</p>  <h2 id="example">Example</h2> | 
