Skip to content

Commit b6a2fd7

Browse files
committed
Correct import of DateTimeField instead of DateField (see issue 189).
1 parent 4c23b30 commit b6a2fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

couchdb/mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
To define a document mapping, you declare a Python class inherited from
1616
`Document`, and add any number of `Field` attributes:
1717
18-
>>> from couchdb.mapping import Document, TextField, IntegerField, DateField
18+
>>> from couchdb.mapping import Document, TextField, IntegerField, DateTimeField
1919
>>> class Person(Document):
2020
... name = TextField()
2121
... age = IntegerField()

0 commit comments

Comments
 (0)