#10898: Bugs in 'conditional view processing' doc ------------------------------------+--------------------------------------- Reporter: tomasz.elendt | Owner: nobody Status: new | Milestone: 1.1 Component: Documentation | Version: 1.1-beta-1 Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------+--------------------------------------- Comment (by mtredinnick):
The second part of the patch cannot be correct, since datetime objects don't have a method called `get()` that operates like a queryset. Looks like you probably also want to change `aggregate()` to `annotate()` there, since the latter has a different return type (a queryset). -- Ticket URL: <http://code.djangoproject.com/ticket/10898#comment:2> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---