diff --git a/home/user/.config/bash/functions b/home/user/.config/bash/functions index 182b020..23816b5 100644 --- a/home/user/.config/bash/functions +++ b/home/user/.config/bash/functions @@ -181,4 +181,17 @@ most-often-commands() { # Enable X11Forwarding and disable mux session sshx() { ssh -X -o ControlMaster=no -o ControlPath=none "$@" -} \ No newline at end of file +} + +django_start_project() ( + set -ue + local -r project_name="$1" + + mkdir "$project_name" + cd "$project_name" + python3 -m virtualenv venv + . venv/bin/activate + pip install django + django-admin startproject core . + git init +) \ No newline at end of file