Create a gist now

Instantly share code, notes, and snippets.

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