I'm posting it here because my understanding is that django 1.3 supports python 2.5., however this code runs perfectly well on 2.6 but not on 2.5 and I get this error I have posted it on the django user group and I got this reply which I believe is correct.
http://groups.google.com/group/django-users/browse_thread/thread/3f191ba3b0bcf99f Is this a bug, or does django 1.3 not support python 2.5? Thanks On Aug 28, 10:44 am, Jeremy Dunck <[email protected]> wrote: > You've mailed the django-developers list which is for development *of > Django itself*. The proper mailing list about using Django is > django-users. Please send this message to django-users unless you're > proposing a change to Django. > > http://groups.google.com/group/django-users > > > > > > > > On Sun, Aug 28, 2011 at 7:34 AM, CrabbyPete <[email protected]> wrote: > > I am running django 1.3 on python version 2.5.2. My code runs fine on > > python v2.6 but on v2.5.2 I get the following > > > Could not import base.views. Error was: No module named io > > > Here is the traceback: > > Django Version: 1.3 > > Python Version: 2.5.2 > > Installed Applications: > > ['django.contrib.auth', > > 'django.contrib.contenttypes', > > 'django.contrib.sessions', > > 'django.contrib.sites', > > 'django.contrib.messages', > > 'django.contrib.staticfiles', > > 'django.contrib.admin', > > 'django.contrib.admindocs', > > 'base', > > 'social', > > 'south'] > > Installed Middleware: > > ('django.middleware.common.CommonMiddleware', > > 'django.contrib.sessions.middleware.SessionMiddleware', > > 'django.middleware.csrf.CsrfViewMiddleware', > > 'django.contrib.auth.middleware.AuthenticationMiddleware', > > 'django.contrib.messages.middleware.MessageMiddleware') > > > Traceback: > > File "/home/brightmap/lib/python2.5/site-packages/Django-1.3-py2.5.egg/ > > django/core/handlers/base.py" in get_response > > 101. request.path_info) > > File "/home/brightmap/lib/python2.5/site-packages/Django-1.3-py2.5.egg/ > > django/core/urlresolvers.py" in resolve > > 252. sub_match = pattern.resolve(new_path) > > File "/home/brightmap/lib/python2.5/site-packages/Django-1.3-py2.5.egg/ > > django/core/urlresolvers.py" in resolve > > 158. return ResolverMatch(self.callback, args, kwargs, > > self.name) > > File "/home/brightmap/lib/python2.5/site-packages/Django-1.3-py2.5.egg/ > > django/core/urlresolvers.py" in _get_callback > > 167. raise ViewDoesNotExist("Could not import %s. Error > > was: %s" % (mod_name, str(e))) > > > Exception Type: ViewDoesNotExist at / > > Exception Value: Could not import base.views. Error was: No module > > named io > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django developers" 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 > > athttp://groups.google.com/group/django-developers?hl=en. -- You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en.
