diff --git a/docs/authorization.rst b/docs/authorization.rst index 89c2059..9ee7d0a 100644 --- a/docs/authorization.rst +++ b/docs/authorization.rst @@ -12,7 +12,7 @@ Let's use a simple example model. from django.db import models class Post(models.Model): - name = models.CharField(max_length=100) + title = models.CharField(max_length=100) content = models.TextField() published = models.BooleanField(default=False) owner = models.ForeignKey('auth.User') diff --git a/docs/tutorial.rst b/docs/tutorial.rst index cd201b9..56c492d 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -31,6 +31,7 @@ We will setup the project, create the following: # Set up a new project with a single application django-admin.py startproject cookbook . # Note the trailing '.' character + cd cookbook django-admin.py startapp ingredients Now sync your database for the first time: