summaryrefslogtreecommitdiff
path: root/scripts/djangoshell.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/djangoshell.sh')
-rwxr-xr-xscripts/djangoshell.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/djangoshell.sh b/scripts/djangoshell.sh
new file mode 100755
index 00000000..457c8827
--- /dev/null
+++ b/scripts/djangoshell.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+cd /home/sites/archlinux/archlinux
+export PYTHONPATH=/usr/local/django:/home/sites/archlinux:${PYTHONPATH}
+export DJANGO_SETTINGS_MODULE=archlinux.settings
+python manage.py $*
+