#2386: [patch]previous_month and previous_day are non-empty even if there are no
objects in previous months/days
------------------------------------------------------+---------------------
 Reporter:  Tyson Tate <[EMAIL PROTECTED]>     |        Owner:  jacob   
     Type:  defect                                    |       Status:  reopened
 Priority:  normal                                    |    Milestone:          
Component:  Generic views                             |      Version:  SVN     
 Severity:  normal                                    |   Resolution:          
 Keywords:  previous_month previous_day genericviews  |  
------------------------------------------------------+---------------------
Comment (by Pete Crosier):

 OK, version 2 is sorted.. it works more logically and the code is a bit
 cleaner too because of it.
 
 Now it returns the closest previous/next months from the queryset from any
 year, if applicable. And it returns the closest previous/next days for any
 month/year, if applicable.
 
 Thanks Tyson/Jacob :)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2386>
Django <http://code.djangoproject.org/>
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to