Permalink
Browse files

Update master

  • Loading branch information...
1 parent 22eb39b commit 5532bbaa7104b04ea4e707962aa20cd193a4c3c8 @coleifer committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/peewee/models.rst
@@ -28,7 +28,7 @@ the following:
headline = CharField()
content = TextField() # <-- TEXT
pub_date = DateTimeField() # <-- DATETIME
- blog = ForeignKeyField() # <-- INTEGER referencing the Blog table
+ blog = ForeignKeyField(Blog) # <-- INTEGER referencing the Blog table
This is a typical example of how to specify models with peewee. There are several

0 comments on commit 5532bba

Please sign in to comment.