Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update master

  • Loading branch information...
commit 5532bbaa7104b04ea4e707962aa20cd193a4c3c8 1 parent 22eb39b
@coleifer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/peewee/models.rst
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.