Are you having this problem with Django development server, or with a production type hosting setup such as mod_wsgi?
Need to know which. Graham On Friday, December 31, 2010 1:34:22 AM UTC+11, yelbuke wrote: > > Hi, > > I'm on centos and have two pythons 2.5 and 2.6. > > I tried in models.py: > > from fractions import Fraction > > and got the error: No module named fractions > > But when i use shell and type "from fractions import Fraction" it's OK, it > uses python2.6 installation. > > How can i modify django installation to use python2.6??? > > I already defined alias in bash_profile for python2.6, but it seems it > doesnt work for django. > > Thanks, > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.