#7944: Generic date based views get confused with a numeric month_format
------------------------------------+---------------------------------------
          Reporter:  SmileyChris    |         Owner:  justinlilly
            Status:  assigned       |     Milestone:  1.1        
         Component:  Generic views  |       Version:  SVN        
        Resolution:                 |      Keywords:             
             Stage:  Accepted       |     Has_patch:  1          
        Needs_docs:  0              |   Needs_tests:  1          
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by Ryszard Szopa <[email protected]>):

 Replying to [comment:11 justinlilly]:
 > I'm not quite sure what your patch offers that mine does not. And unless
 I'm missing something else, you shouldn't be accepting delimiters from
 month_format. According to the docs, month_format should only accept
 strftime style arguments like %m or %b.
 >
 > As it stands now, this ticket should be RFC, it just needs to be
 reviewed by someone and marked that way. If there is a flaw in my
 thinking, please let me know, but I don't think your patch solves the
 problem.

 Both patches seem to fix the problem. You've included a test case, so you
 should be the winner ;-)

 (Whatever gets into the release, I will be happy to see that bug finally
 fixed.)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7944#comment:13>
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 [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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to