#2548: [PATCH] Add set/get_expires methods and expires propery to sessions
--------------------------+-------------------------------------------------
 Reporter:  Tsume         |        Owner:  adrian
     Type:  enhancement   |       Status:  new   
 Priority:  normal        |    Milestone:        
Component:  Contrib apps  |      Version:        
 Severity:  normal        |   Resolution:        
 Keywords:  sessions      |  
--------------------------+-------------------------------------------------
Comment (by SmileyChris):

 From a quick look at the patch, couldn't the new timedelta lines both be
 just
 {{{
 ... + datetime.timedelta(seconds=(request.session.expires))
 }}}
 instead of
 {{{
 ... + datetime.timedelta(seconds=(request.session.expires_time or
 settings.SESSION_COOKIE_AGE))
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2548>
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