Code

Changes between Version 4 and Version 5 of YUI-Django-Dialog


Ignore:
Timestamp:
03/29/10 23:52:58 (4 years ago)
Author:
newacct
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YUI-Django-Dialog

    v4 v5  
    2525        return self.name 
    2626    def is_effective(self): 
    27         if start_date<datetime.date.today()<end_date: 
    28             return True 
    29         else: 
    30             return False 
     27        return start_date<datetime.date.today()<end_date 
    3128    class Admin: 
    3229        pass