He should work immediately. Just copy / paste the Django application folder into the virtualenv environment, and when python manage.py runserver in this folder, it should use virtualenv own python binary with its site-packages path.
Check your paths inside your Django app. Do not arrange them, you should do something like this:
import os settings_dir = os.path.dirname(__file__) PROJECT_ROOT = os.path.abspath(os.path.dirname(settings_dir))
and then connect PROJECT_ROOT with everything you want to declare as a path inside your settings.py
Hope this helps!
source share