#9137: Tutorial 1 has a small mistake
--------------------------------+-------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody    
   Status:  new                 |   Milestone:  post-1.0  
Component:  Documentation       |     Version:  1.0       
 Keywords:  Tutorial            |       Stage:  Unreviewed
Has_patch:  0                   |  
--------------------------------+-------------------------------------------
 def was_published_today(self):
         return self.pub_date.date() == datetime.date.today()


 That doesn't seem to work for me,

   def was_published_today(self):
         return self.pub_date == datetime.date.today()


 Does.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9137>
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to