Skip to content
This repository
Browse code

Update master

  • Loading branch information...
commit 5532bbaa7104b04ea4e707962aa20cd193a4c3c8 1 parent 22eb39b
Charles Leifer authored July 06, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/peewee/models.rst
2  docs/peewee/models.rst
Source Rendered
@@ -28,7 +28,7 @@ the following:
28 28
         headline = CharField()
29 29
         content = TextField() # <-- TEXT
30 30
         pub_date = DateTimeField() # <-- DATETIME
31  
-        blog = ForeignKeyField() # <-- INTEGER referencing the Blog table
  31
+        blog = ForeignKeyField(Blog) # <-- INTEGER referencing the Blog table
32 32
 
33 33
 
34 34
 This is a typical example of how to specify models with peewee.  There are several

0 notes on commit 5532bba

Please sign in to comment.
Something went wrong with that request. Please try again.