aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-03-11 16:24:56 +0100
committerDuncaen <mail@duncano.de>2016-03-17 19:01:28 +0100
commitfed1934b8c496e8ed68e086155eb193d456df8e6 (patch)
treede130c8e5e12c7e354e95511cabbb195c0a77672
parentad16de5612495b237b53f0e6b9ddfe3ac08b1707 (diff)
downloaddotfiles-fed1934b8c496e8ed68e086155eb193d456df8e6.tar.gz
mksh: add django aliases
-rwxr-xr-xmksh.d/00-django.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/mksh.d/00-django.sh b/mksh.d/00-django.sh
new file mode 100755
index 0000000..2d28e82
--- /dev/null
+++ b/mksh.d/00-django.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/python -o -x /usr/bin/python3 ]; then
+ alias djrs="python manage.py runserver 0.0.0.0:8000"
+ alias djcs="python manage.py collectstatic"
+ alias djm="python manage.py migrate"
+ alias djmm="python manage.py makemigrations"
+ alias djcu="python manage.py createsuperuser"
+fi