aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/4-authentication-and-permissions.md
diff options
context:
space:
mode:
authorTom Christie2014-11-25 08:59:59 +0000
committerTom Christie2014-11-25 08:59:59 +0000
commit735d2257b425fac185470b8b6fb1f74fa6f135f6 (patch)
tree1925bad3a489943351c133c6d2295d0e8b7733cd /docs/tutorial/4-authentication-and-permissions.md
parentbdacb6624484209fb008293a9dc40c06a439ef71 (diff)
parent3371131a61f680df42e6b54a24db4b18a1c3c9aa (diff)
downloaddjango-rest-framework-735d2257b425fac185470b8b6fb1f74fa6f135f6.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/tutorial/4-authentication-and-permissions.md')
-rw-r--r--docs/tutorial/4-authentication-and-permissions.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md
index adab1b55..4e4edeea 100644
--- a/docs/tutorial/4-authentication-and-permissions.md
+++ b/docs/tutorial/4-authentication-and-permissions.md
@@ -44,7 +44,9 @@ When that's all done we'll need to update our database tables.
Normally we'd create a database migration in order to do that, but for the purposes of this tutorial, let's just delete the database and start again.
rm tmp.db
- python manage.py syncdb
+ rm -r snippets/migrations
+ python manage.py makemigrations snippets
+ python manage.py migrate
You might also want to create a few different users, to use for testing the API. The quickest way to do this will be with the `createsuperuser` command.