Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created May 9, 2012 22:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dstufft/6869afeec3a5ec5ad116 to your computer and use it in GitHub Desktop.
Save dstufft/6869afeec3a5ec5ad116 to your computer and use it in GitHub Desktop.
cat ~/.virtualenvs/crate-site/bin/postactivate
#!/bin/zsh
# This hook is run after this virtualenv is activated.
export DJANGO_SETTINGS_MODULE=crateweb.conf.dev.base
cat ~/.virtualenvs/crate-site/bin/postdeactivate
#!/bin/zsh
# This hook is run after this virtualenv is deactivated.
unset DJANGO_SETTINGS_MODULE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment