Skip to main content

Start Django dev server faster

Project description

Django shortcuts

You spend too much time typing python3


The tool is used by Uptrader team for more then two years

It's a fork of django-shortcuts by Johannes Gorset


  • shorter aliases for built-in commands
  • config files for user-defined shortcuts
  • works from any project subdirectory
$ python3 shell
$ cd any/project/subdirectory
$ d s  # the same


$ pip3 install django-shts3


PyPi package installs django and d binaries. Arguments with - at the begining before command are eaten by the Python interpretator.

$ django <command or shortcut>

$ d <command or shortcut>

Default shortcuts

Alias Command
c collectstatic
r runserver
s / sh shell
t test
m migrate
mkm makemigrations
csu createsuperuser
cpw changepassword
sa startapp


The program loads extra aliases from .django_shts3 file in project directory and in home directory.


alias @@@ command
m @@@ migrate


I have a docker container with Django and I should bind to on runserver command, so I have:

$ cat .django_shts3
r @@@ runserver

That allows me to start Django server like:

$ d r


Pull requests are welcome!

Please report all problems to GitLab issues

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-shts3-5.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

django_shts3-5.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page