简体   繁体   中英

Specify The Version of django-admin

I have been having a problem that I know about, but cannot seem to find the solution for. I need to run python 3.2.2 and django 1.6.5 and when I use the django-admin command it works, but causes problems because django-admin --version 1.7b3 and not 1.6.x

I am running ubuntu and was wondering if someone knew how to downgrade django-admin to version 1.6.x

I have re-installed everything and not sure what is going wrong in that everything else is installed right

You are not asking about the version of django-admin, which is simply a script that comes with Django, but about the version of Django itself.

You don't say how you installed Django in the first place. The best way is to use pip : to install a specific version, you would do:

pip install django==1.6.5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM