I have this issue i am trying to resolve. I installed django directly into my Python35 directory without creating a new virtual environment for my project.
However, now i want to create a new virtual environment for a new project. If i make some modifications in django inside this new virtual environment, will it not affect my previous project.? Do i need to install a new django entirely?
--
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...@googlegroups.com.
To post to this group, send email to django...@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/857441fd-c46f-48b1-818e-13380d4c0072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/330dd057-0b22-4cad-83ba-25837e8f52a7%40Spark.
If you have created the virtualenv with --system-site-packages, you need to tell it "pip install --upgrade django".
See also https://djangodeployment.com/2016/11/01/virtualenv-demystified/.
Regards,
Antonis
Antonis Christofides http://djangodeployment.com
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/C99A432F-BF49-4885-9647-3B97473A7FFC%40gmail.com.
If you have created the virtualenv with --system-site-packages, you need to tell it "pip install --upgrade django".
See also https://djangodeployment.com/2016/11/01/virtualenv-demystified/.
Regards,
Antonis
Antonis Christofides http://djangodeployment.comOn 2017-06-12 16:41, yingi keme wrote:
Okk.
But then when i create a new virtual environment, and i try to install a seperate django. It says the django package already exist. Is it that i have to install another version of django?
Yingi Kem
Hi Yingi,
Once you create a virtual environment, it is an isolated sandbox. It doesn’t have access to the world outside that sandbox. That includes Django - your virtual environment will need to have Django installed separately, even if your “main” Python 3.5 install already has Django installed.
Yours,Russ Magee %-)
Hello
I have this issue i am trying to resolve. I installed django directly into my Python35 directory without creating a new virtual environment for my project.
However, now i want to create a new virtual environment for a new project. If i make some modifications in django inside this new virtual environment, will it not affect my previous project.? Do i need to install a new django entirely?
--
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...@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/857441fd-c46f-48b1-818e-13380d4c0072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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...@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/330dd057-0b22-4cad-83ba-25837e8f52a7%40Spark.
For more options, visit https://groups.google.com/d/optout.
--
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...@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/C99A432F-BF49-4885-9647-3B97473A7FFC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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...@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/08b1bd71-16d9-3f65-9599-e4877cc498df%40djangodeployment.com.