Ticket #5802: db-api_typo.diff

File db-api_typo.diff, 489 bytes (added by Zellyn Hunter <zellyn@…>, 7 years ago)

Patch

  • docs/db-api.txt

     
    330330
    331331    Entry.objects.filter(
    332332        headline__startswith='What').exclude(
    333             pub_date__gte=datetime.now()).filter(
     333            pub_date__lte=datetime.now()).filter(
    334334                pub_date__gte=datetime(2005, 1, 1))
    335335
    336336...takes the initial ``QuerySet`` of all entries in the database, adds a
Back to Top