diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2012-09-05 19:20:25 -0700 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2012-09-05 19:20:25 -0700 |
| commit | 3f53cac520d6a4f87b7b8e45eeb06921a58c515f (patch) | |
| tree | 7087337fcbfa34e4a1d9dd932ba293a1b742728c /docs | |
| parent | e5983af7c16cc889cf7d52fdae67270717a1a846 (diff) | |
| parent | a7d831a3056449b2aca88492031be8cedef58f87 (diff) | |
Merge pull request #318 from Matt-Stevens/master
Small doc change: clarify day and month
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/queries.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index 60437c1120..f87fa2920f 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -235,14 +235,14 @@ refinements together. For example:: ... ).exclude( ... pub_date__gte=datetime.now() ... ).filter( - ... pub_date__gte=datetime(2005, 1, 1) + ... pub_date__gte=datetime(2005, 1, 30) ... ) This takes the initial :class:`~django.db.models.query.QuerySet` of all entries in the database, adds a filter, then an exclusion, then another filter. The final result is a :class:`~django.db.models.query.QuerySet` containing all entries with a headline that starts with "What", that were published between -January 1, 2005, and the current day. +January 30, 2005, and the current day. .. _filtered-querysets-are-unique: |
