Friday, June 24, 2016

Re: Beginner question regarding virtualenv

I've found that virtualenvs are definitely worth the time to set up, there will be a time down the road when you need to have two different versions of the same package. Also, I'd strongly recommend storing the project's dependencies in a requirements.txt file. I have a terrible memory and would never remember which versions are compatible with my project and which aren't.

As mentioned above, your IDE may help you set up and use virtualenvs. I use PyCharm and it can create the environment for you and associate that with your project.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ba9c488d-b563-4822-867d-5463869fe49b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment