diff options
author | Simon Charette <charettes@users.noreply.github.com> | 2016-09-12 08:07:30 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-09-12 08:07:30 -0400 |
commit | 767ba009764c6640b20ea6a6dc6ee2559cc87800 (patch) | |
tree | 9d772a4183da2e54e06b5ac62b0764db78c58cf6 | |
parent | a1ad896422437b376462361560086609538779fc (diff) | |
download | django-767ba009764c6640b20ea6a6dc6ee2559cc87800.tar.gz |
Fixed #27209 -- Fixed typo in docs/ref/models/database-functions.txt.
Thanks Valentin Ignatyev for the report.
-rw-r--r-- | docs/ref/models/database-functions.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt index 74198ed749..0d9c80fa25 100644 --- a/docs/ref/models/database-functions.txt +++ b/docs/ref/models/database-functions.txt @@ -37,7 +37,7 @@ Usage example:: >>> from django.db.models import FloatField >>> from django.db.models.functions import Cast >>> Value.objects.create(integer=4) - >>> value = Value.objects.annotate(as_float=Cast('integer', FloatField)).get() + >>> value = Value.objects.annotate(as_float=Cast('integer', FloatField())).get() >>> print(value.as_float) 4.0 |