Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
--- 2012-06-16 23:48:07.256319726 +0900
+++ .compfunc/_django 2012-06-16 23:55:32.556331127 +0900
@@ -31,7 +31,6 @@
"cleanup:remove old data from the database"
"compilemessages:compile .po files to .mo for use with gettext"
"createcachetable:creates table for SQL cache backend"
- "createsuperuser:create a superuser"
"dbshell:run command-line client for the current database"
"diffsettings:display differences between the current settings and Django defaults"
"dumpdata:output contents of database as a fixture"
@@ -52,6 +51,7 @@
"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:Creates a Django project directory structure"
"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)"
@@ -117,14 +117,6 @@
- createsuperuser)
- args+=(
- $noinput
- '--username[username for the superuser]:username'
- '--email[email address for the superuser]:email'
- )
- ;;
'--format=:format:(xml python json yaml):[serialization format for the fixtures]'
@@ -174,6 +166,10 @@
+ startproject)
+ args+=':new_projectname:'
+ ;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment