#5598: Django contrib sessions module missing imports (os, time), causes error 
on
new session
-----------------------+----------------------------------------------------
Reporter:  gav         |       Owner:  nobody                 
  Status:  new         |   Component:  django.contrib.sessions
 Version:  SVN         |    Keywords:  session import missing 
   Stage:  Unreviewed  |   Has_patch:  1                      
-----------------------+----------------------------------------------------
 As of r6333, there are missing imports in
 django/contrib/sessions/models.py:

 Line 1 currently is:

 {{{import base64, md5, random, sys, datetime}}}

 should be:

 {{{import base64, md5, random, sys, datetime, os, time}}}

 Looks like it used to be like that and just got lost.

 When using a new project, it gives this error:

 {{{NameError: global name 'os' is not defined}}}

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