i found that the best way to confuse a newbie python/django programmer
is to invite him/her to use virtualenv.
Virtualenv is absolutely NOT required for properly running django in
development or production mode.
a most flexible approach is to install django in development mode:
$ cd /path/to/django
$ sudo python setup.py develop --prefix=/usr/local
HTH,
Etienne
Le 2018-02-09 à 13:12, James Farris a écrit :
I highly recommend installing virtualenv and virtualenvwrapper. This will
reduce the stress of creating a bunch of unnecessary modules on your computer
and contain each project you create in a separate environment. For example you
wouldn’t necessarily want to install Django globally but rather for a specific
project your working on. That’s where virtualenv comes in.
I also recommend going through the Django Book. It walks you through an app
that uses a lot of what Django has to offer: https://djangobook.com
Also go through the Writing your first Django app in the Django docs:
https://docs.djangoproject.com/en/2.0/intro/tutorial01/
I use PyCharm, because it has great auto complete and debugging.
Other references mentioned above are below.
Django apps: https://docs.djangoproject.com/en/2.0/ref/applications/
Homebrew: https://brew.sh/
Virtualenv: https://virtualenv.pypa.io/en/stable/
Virtualenvwrapper:
https://virtualenvwrapper.readthedocs.io/en/latest/install.html
--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/
--
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+unsubscr...@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/394be6a7-15a1-4328-90cf-b1385ac34bef%40yandex.com.
For more options, visit https://groups.google.com/d/optout.