How can you use two different versions of Django for different projects on the same machine?

后端 未结 6 748
难免孤独
难免孤独 2020-12-17 16:18

I\'m currently using Django 1.0 on my Mac OS X 10.5.7 box. It\'s installed to:

/Library/Python/2.5/site-packages/django/

However, there are features that are

6条回答
  •  一向
    一向 (楼主)
    2020-12-17 16:36

    You can use different users at operating system level. It works nice on linux, and I guess it should work on Mac, too.

    You can install django and other packages into the per user site-packages directory:

    http://www.python.org/dev/peps/pep-0370/

    Related: Do I need virtualenv?

提交回复
热议问题