e04d3e0563217c2beef475b4eecf90bde4c8193a

Author
Julia Medina <a.julia.medina@gmail.com>
Committer
ncanceill <nicolas.canceill@ens-cachan.org>
Date

Message

Add startproject to django command completions

Diff

 1diff --git a/plugins/django/django.plugin.zsh b/plugins/django/django.plugin.zsh
 2index 9d898edca0e5bb154010c2efc539d52b17a2819f..aaaa7d21d2800914fb2720744d89c59a7c0a57fc 100644
 3--- a/plugins/django/django.plugin.zsh
 4+++ b/plugins/django/django.plugin.zsh
 5@@ -141,6 +141,7 @@ _managepy-sqlinitialdata(){}
 6 _managepy-sqlreset(){}
 7 _managepy-sqlsequencereset(){}
 8 _managepy-startapp(){}
 9+_managepy-startproject(){}
10 
11 _managepy-syncdb() {
12   _arguments -s : \
13@@ -198,6 +199,7 @@ _managepy-commands() {
14     'sqlreset:Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the given app name(s).'
15     'sqlsequencereset:Prints the SQL statements for resetting sequences for the given app name(s).'
16     "startapp:Creates a Django app directory structure for the given app name in this project's directory."
17+    "startproject:Creates a Django project directory structure for the given project name in this current directory."
18     "syncdb:Create the database tables for all apps in INSTALLED_APPS whose tables haven't already been created."
19     'test:Runs the test suite for the specified applications, or the entire site if no apps are specified.'
20     'testserver:Runs a development server with data from the given fixture(s).'