Updated docs for v0.4

This commit is contained in:
Harry Marr
2010-10-17 15:40:49 +01:00
parent 36993029ad
commit 6817f3b7ba
7 changed files with 76 additions and 3 deletions

View File

@@ -112,6 +112,8 @@ class URLField(StringField):
class EmailField(StringField):
"""A field that validates input as an E-Mail-Address.
.. versionadded:: 0.4
"""
EMAIL_REGEX = re.compile(
@@ -355,6 +357,8 @@ class SortedListField(ListField):
"""A ListField that sorts the contents of its list before writing to
the database in order to ensure that a sorted list is always
retrieved.
.. versionadded:: 0.4
"""
_ordering = None
@@ -666,6 +670,8 @@ class FileField(BaseField):
class GeoPointField(BaseField):
"""A list storing a latitude and longitude.
.. versionadded:: 0.4
"""
_geo_index = True

View File

@@ -590,6 +590,7 @@ class QuerySet(object):
def create(self, **kwargs):
"""Create new object. Returns the saved object instance.
.. versionadded:: 0.4
"""
doc = self._document(**kwargs)