Forums

Running django 1.6 but django.VERSION shows 1.3.7

I set up a new webapp using python 3. -- I did the manual config -- which should bring along django 1.6, no? But when I do

python
django.VERSION

? I get

1, 3, 7, 'final',

What am I missing?

try running python3 instead of python :-P

Sorry, that wasn't fair. Our default python is a shortcut for python2.7 (this is pretty much standard on most mac/linux distributions). python3 points to python3.3...

Thanks. Yes - that's how it is on my own machine. Somehow I'd thought that by creating the specified web app it automagically aliased "python" to whatever the app was using. Which wouldn't work if you had mode than one app!

I dont want the 1.3 version of django !! How do i upgrade my version to 1.6 but not python 3.3 !! I want 2.7 and 1.6

Hi there -- to do that you need to use a virtualenv; it's pretty simple, and there are detailed instructions here.