Skip to main content

You spend way too much time typing 'python manage.py'

Project description

You spend too much time typing python manage.py.

Usage

Django shorts installs a django binary that proxies Django’s manage.py and django-admin.py scripts.

$ django <command or shortcut>

$ cd any/project/subdirectory $ django <command or shortcut>

Requirements

Some commands require additional packages

  • Django

Shortcuts

ALIASES = {

# Django ‘c’ : ‘collectstatic’, ‘r’ : ‘runserver’, ‘sd’ : ‘syncdb’, ‘sp’ : ‘startproject’, ‘sa’ : ‘startapp’, ‘t’ : ‘test’,

# Shell ‘d’ : ‘dbshell’, ‘s’ : ‘shell’,

# Auth ‘csu’: ‘createsuperuser’, ‘cpw’: ‘changepassword’,

# database ‘m’ : ‘migrate’, ‘mkm’ : ‘makemigrations’,

# session ‘cs’ : ‘clearsessions’,

Installation

$ pip install django-shorts

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

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

Source Distribution

django-shorts-1.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

django_shorts-1.1-py3-none-any.whl (3.7 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