Skip to content

Instantly share code, notes, and snippets.

@ntk1000
Created September 3, 2014 13:52
Show Gist options
  • Save ntk1000/0e775f41e4900eeae371 to your computer and use it in GitHub Desktop.
Save ntk1000/0e775f41e4900eeae371 to your computer and use it in GitHub Desktop.
$ which python
$ brew install python
$ pip install --upgrade setuptools
$ pip install --upgrade pip
echo 'export PATH=/usr/local/bin:/usr/local/share/python:$PATH' >> ~/.bash_profile
source ~/.bash_profile
$ which python
$ python --version
>>> import django
>>> django.get_version()
>>> django.VERSION
./manage.py sqlclear <appname> | ./manage.py dbshell
python manage.py reset <appname>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment