L
L
leha782016-01-28 18:44:12
Django
leha78, 2016-01-28 18:44:12

How to constantly work within the same environment?

I install the environment on the hosting, django, copy the project, commands like django-admin work. But on the next session (via putty), it says that there is no such command in django-admin and all other commands related to django stop working. How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThemeZV, 2016-01-28
@leha78

Are you using virtualenv?
You need to activate the environment. To do this, you need to find the created environment. and run the command: source bin/activate
Instructions on how to make it so that each time it is not activated can be found here:
https://virtualenv.readthedocs.org/en/latest/insta...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question