Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jgorset/django-shortcuts

You spend too much time typing "python manage.py"
https://github.com/jgorset/django-shortcuts

Last synced: 5 days ago
JSON representation

You spend too much time typing "python manage.py"

Awesome Lists containing this project

README

        

Django shortcuts
================

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

$ cd any/project/subdirectory
$ django

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',
'mm' : 'makemigrations',
'sm' : 'schemamigration',
'dm' : 'datamigration',

# 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