Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Clarifies day and month in example queryset

  • Loading branch information...
commit 813241f65562bc0e7f20264238424d82bee2febc 1 parent 03ad7d3
Matt Deacalion Stevens authored September 03, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/db/queries.txt
4  docs/topics/db/queries.txt
@@ -235,14 +235,14 @@ refinements together. For example::
235 235
     ... ).exclude(
236 236
     ...     pub_date__gte=datetime.now()
237 237
     ... ).filter(
238  
-    ...     pub_date__gte=datetime(2005, 1, 1)
  238
+    ...     pub_date__gte=datetime(2005, 1, 2)
239 239
     ... )
240 240
 
241 241
 This takes the initial :class:`~django.db.models.query.QuerySet` of all entries
242 242
 in the database, adds a filter, then an exclusion, then another filter. The
243 243
 final result is a :class:`~django.db.models.query.QuerySet` containing all
244 244
 entries with a headline that starts with "What", that were published between
245  
-January 1, 2005, and the current day.
  245
+January 2, 2005, and the current day.
246 246
 
247 247
 .. _filtered-querysets-are-unique:
248 248
 

0 notes on commit 813241f

Please sign in to comment.
Something went wrong with that request. Please try again.