Commit a7d831a3 authored by Matt Stevens's avatar Matt Stevens
Browse files

Changes day to from 2 to 30

parent 813241f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -235,14 +235,14 @@ refinements together. For example::
    ... ).exclude(
    ...     pub_date__gte=datetime.now()
    ... ).filter(
    ...     pub_date__gte=datetime(2005, 1, 2)
    ...     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 2, 2005, and the current day.
January 30, 2005, and the current day.

.. _filtered-querysets-are-unique: