Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Added completion for `django-admin startproject`



Hi!

I noticed that this completion was missing, so just went ahead and added it :)

I couldn't find the preferred method of contributing, so I attach the commit.
I'm not subscribed, so please make sure to cc me.

Regards,
Marcin Mielniczuk

commit 9f3f81a1872e0cf9c599f99a63246620ff522422
Author: Marcin Mielniczuk <marmistrz.dev@xxxxxxxxx>
Date:   Mon Jul 10 20:00:16 2017 +0200

    Add completion for django-admin startproject

diff --git a/Completion/Unix/Command/_django b/Completion/Unix/Command/_django
index 029687696..9eaa2284a 100644
--- a/Completion/Unix/Command/_django
+++ b/Completion/Unix/Command/_django
@@ -49,6 +49,7 @@ case $state in
       "sqlreset:print the DROP TABLE and CREATE TABLE statements for the given app(s)"
       "sqlsequencereset:print the SQL statements for resetting sequences for the given app(s)"
       "startapp:create Django app directory in this project's directory"
+      "startproject:create a Django project directory structure for a given project name"
       "syncdb:create database tables for apps in INSTALLED_APPS where required"
       "test:run the test suite for the specified app, or the entire site"
       "testserver:run a development server with data from the given fixture(s)"


Messages sorted by: Reverse Date, Date, Thread, Author