Skip to content

Commit 0c26e8f

Browse files
authored
Merge pull request #71 from tguillemot/master
Fix some mistakes in documentation
2 parents 22b3321 + 3f139da commit 0c26e8f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/authorization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Let's use a simple example model.
1212
from django.db import models
1313
1414
class Post(models.Model):
15-
name = models.CharField(max_length=100)
15+
title = models.CharField(max_length=100)
1616
content = models.TextField()
1717
published = models.BooleanField(default=False)
1818
owner = models.ForeignKey('auth.User')

docs/tutorial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ We will setup the project, create the following:
3131
3232
# Set up a new project with a single application
3333
django-admin.py startproject cookbook . # Note the trailing '.' character
34+
cd cookbook
3435
django-admin.py startapp ingredients
3536
3637
Now sync your database for the first time:

0 commit comments

Comments
 (0)