summaryrefslogtreecommitdiff
path: root/plugins/django/django.plugin.zsh
diff options
context:
space:
mode:
authorJulia Medina <a.julia.medina@gmail.com>2013-10-25 20:34:23 -0300
committerncanceill <nicolas.canceill@ens-cachan.org>2014-06-08 10:35:00 +0200
commite04d3e0563217c2beef475b4eecf90bde4c8193a (patch)
tree856c1086f8fc4a6f2064da44bc3e195e34c9e46c /plugins/django/django.plugin.zsh
parentf7948ace66dd541e5b60666d840cce6b6d95f0e6 (diff)
downloadzsh-e04d3e0563217c2beef475b4eecf90bde4c8193a.tar.gz
zsh-e04d3e0563217c2beef475b4eecf90bde4c8193a.tar.bz2
zsh-e04d3e0563217c2beef475b4eecf90bde4c8193a.zip
Add startproject to django command completions
Diffstat (limited to 'plugins/django/django.plugin.zsh')
-rw-r--r--plugins/django/django.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/django/django.plugin.zsh b/plugins/django/django.plugin.zsh
index 9d898edca..aaaa7d21d 100644
--- a/plugins/django/django.plugin.zsh
+++ b/plugins/django/django.plugin.zsh
@@ -141,6 +141,7 @@ _managepy-sqlinitialdata(){}
_managepy-sqlreset(){}
_managepy-sqlsequencereset(){}
_managepy-startapp(){}
+_managepy-startproject(){}
_managepy-syncdb() {
_arguments -s : \
@@ -198,6 +199,7 @@ _managepy-commands() {
'sqlreset:Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the given app name(s).'
'sqlsequencereset:Prints the SQL statements for resetting sequences for the given app name(s).'
"startapp:Creates a Django app directory structure for the given app name in this project's directory."
+ "startproject:Creates a Django project directory structure for the given project name in this current directory."
"syncdb:Create the database tables for all apps in INSTALLED_APPS whose tables haven't already been created."
'test:Runs the test suite for the specified applications, or the entire site if no apps are specified.'
'testserver:Runs a development server with data from the given fixture(s).'