diff options
| author | Tom Christie | 2014-12-05 09:44:35 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-12-05 09:44:35 +0000 |
| commit | 6cce0681a9da20f46f57aa2c19796b4266c3d505 (patch) | |
| tree | aa29a4123d2de4fbef7d28cc9aa881c44546ed76 /tutorial/quickstart | |
| parent | 442f49eb5b8bfe6aebd599191482e2ffc532d87c (diff) | |
| download | django-rest-framework-6cce0681a9da20f46f57aa2c19796b4266c3d505.tar.bz2 | |
Update documentation
Diffstat (limited to 'tutorial/quickstart')
| -rw-r--r-- | tutorial/quickstart/index.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tutorial/quickstart/index.html b/tutorial/quickstart/index.html index 762c9aeb..f291901c 100644 --- a/tutorial/quickstart/index.html +++ b/tutorial/quickstart/index.html @@ -403,10 +403,9 @@ pip install django pip install djangorestframework # Set up a new project with a single application -django-admin.py startproject tutorial +django-admin.py startproject tutorial . cd tutorial django-admin.py startapp quickstart -cd .. </code></pre> <p>Now sync your database for the first time:</p> <pre><code>python manage.py migrate @@ -470,7 +469,7 @@ router.register(r'users', views.UserViewSet) router.register(r'groups', views.GroupViewSet) # Wire up our API using automatic URL routing. -# Additionally, we include login URLs for the browseable API. +# Additionally, we include login URLs for the browsable API. urlpatterns = [ url(r'^', include(router.urls)), url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')) |
