Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
e04d3e05
Commit
e04d3e05
authored
Oct 25, 2013
by
Julia Medina
Committed by
ncanceill
Jun 08, 2014
Browse files
Add startproject to django command completions
parent
f7948ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/django/django.plugin.zsh
View file @
e04d3e05
...
@@ -141,6 +141,7 @@ _managepy-sqlinitialdata(){}
...
@@ -141,6 +141,7 @@ _managepy-sqlinitialdata(){}
_managepy-sqlreset
(){}
_managepy-sqlreset
(){}
_managepy-sqlsequencereset
(){}
_managepy-sqlsequencereset
(){}
_managepy-startapp
(){}
_managepy-startapp
(){}
_managepy-startproject
(){}
_managepy-syncdb
()
{
_managepy-syncdb
()
{
_arguments
-s
:
\
_arguments
-s
:
\
...
@@ -198,6 +199,7 @@ _managepy-commands() {
...
@@ -198,6 +199,7 @@ _managepy-commands() {
'sqlreset:Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the given app name(s).'
'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).'
'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."
"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."
"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.'
'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).'
'testserver:Runs a development server with data from the given fixture(s).'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment