Skip to content

Instantly share code, notes, and snippets.

@lucassmagal
Last active December 14, 2015 03:49
Show Gist options
  • Save lucassmagal/5024150 to your computer and use it in GitHub Desktop.
Save lucassmagal/5024150 to your computer and use it in GitHub Desktop.

Virtualenv "foo"

Instalando https://github.com/django/django/commit/f60dd6f55dcd646dcec4f7f8b2cc73af985ccba3

pip install -e "[email protected]:django/django.git@f60dd6f55dcd646dcec4f7f8b2cc73af985ccba3#egg=Django"

django-admin.py --version
# 1.5c2

sed -n -e 407,408p ~/.virtualenvs/foo/src/django/docs/intro/tutorial03.txt
# We'll discuss what you could put in that ``polls/detail.html`` template a bit
# later, but if you'd like to quickly get the above example working, a file

Virtualenv "bar"

Instalando https://github.com/django/django/commit/1702be89c86d1b1a01efb16fa7836335ad709184

pip install -e "[email protected]:django/django.git@1702be89c86d1b1a01efb16fa7836335ad709184#egg=Django"

django-admin.py --version
# 1.5c2

sed -n -e 407,408p ~/.virtualenvs/bar/src/django/docs/intro/tutorial03.txt
# We'll discuss what you could put in that ``polls/detail.html`` template a bit
# later, but if you'd like to quickly get the above example working, just::

Virtualenv "quux"

Instalando https://github.com/django/django/commit/2378c31430a2b441d23efe98c0af32fe4af0fb53

pip install -e "[email protected]:django/django.git@2378c31430a2b441d23efe98c0af32fe4af0fb53#egg=Django"

django-admin.py --version
# 1.3.6

sed -n -e 407,408p ~/.virtualenvs/quux/src/django/docs/intro/tutorial03.txt
#
# The template system uses dot-lookup syntax to access variable attributes. In
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment