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 details)

Uploaded Source

Built Distribution

django_shorts-1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file django-shorts-1.1.tar.gz.

File metadata

  • Download URL: django-shorts-1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3

File hashes

Hashes for django-shorts-1.1.tar.gz
Algorithm Hash digest
SHA256 49d22f9e3807c269fe3d72e1b715d3b2d1c065f839db48f01568b25ebc6743c9
MD5 46c184d314d95ad54c962b876f4d8e9f
BLAKE2b-256 459d54feeacac2a9fc3c87bcca3851602c27b9a19267cabb3ae1b70b6bfaff5d

See more details on using hashes here.

File details

Details for the file django_shorts-1.1-py3-none-any.whl.

File metadata

  • Download URL: django_shorts-1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3

File hashes

Hashes for django_shorts-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5f874a940d7240524e7448569581a9b79fa26a496dbd6db32f8045d906fd5ed
MD5 def3be2f661ef5b4dbe60f9962767418
BLAKE2b-256 8b062843cdd4ec79ee7ec53928924d762dd25f26423c3f31fcac20eb647e708a

See more details on using hashes here.

Supported by

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