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 shortcuts 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

  • South

  • Haystack

  • Django Command Extensions

Shortcuts

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

# Shell
'd'  : 'dbshell',
's'  : 'shell',

# Auth
'csu': 'createsuperuser',
'cpw': 'changepassword',

# South
'm'  : 'migrate',
'sm' : 'schemamigration',

# Haystack
'ix' : 'update_index',
'rix': 'rebuild_index',

# Django Extensions
'sk' : 'generate_secret_key',
'rdb': 'reset_db',
'rp' : 'runserver_plus',
'shp': 'shell_plus',
'url': 'show_urls',
'gm' : 'graph_models',
'rs' : 'runscript'

Installation

$ pip install django-shortcuts

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-shortcuts-1.4.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file django-shortcuts-1.4.tar.gz.

File metadata

File hashes

Hashes for django-shortcuts-1.4.tar.gz
Algorithm Hash digest
SHA256 eb720c82caa0064665bf2c7e478a747e146aa9b25cb3e4b2bb16f93b5544d094
MD5 04e07c967e9835131e5df581c9c3db0e
BLAKE2b-256 66573c8ffcc77f009d58c3b57332e71a74eda1957eb279c7a96d7b1bf2ac9a99

See more details on using hashes here.

Supported by

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