mirror of https://github.com/django/django.git
Made some negligible formatting changes to django/core/management.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
08c47803bb
commit
9b99a60cfa
|
@ -25,8 +25,8 @@ MODULE_TEMPLATE = ''' {%% if perms.%(app)s.%(addperm)s or perms.%(app)s.%(cha
|
||||||
|
|
||||||
APP_ARGS = '[appname ...]'
|
APP_ARGS = '[appname ...]'
|
||||||
|
|
||||||
# Use django.__path__[0] because we don't know which directory django into
|
# Use django.__path__[0] because we don't know into which directory django
|
||||||
# which has been installed.
|
# has been installed.
|
||||||
PROJECT_TEMPLATE_DIR = os.path.join(django.__path__[0], 'conf', '%s_template')
|
PROJECT_TEMPLATE_DIR = os.path.join(django.__path__[0], 'conf', '%s_template')
|
||||||
|
|
||||||
INVALID_PROJECT_NAMES = ('django', 'site', 'test')
|
INVALID_PROJECT_NAMES = ('django', 'site', 'test')
|
||||||
|
@ -1502,7 +1502,7 @@ dump_data.args = '[--format] [--indent]' + APP_ARGS
|
||||||
|
|
||||||
DEFAULT_ACTION_MAPPING = {
|
DEFAULT_ACTION_MAPPING = {
|
||||||
'adminindex': get_admin_index,
|
'adminindex': get_admin_index,
|
||||||
'createcachetable' : createcachetable,
|
'createcachetable': createcachetable,
|
||||||
'dbshell': dbshell,
|
'dbshell': dbshell,
|
||||||
'diffsettings': diffsettings,
|
'diffsettings': diffsettings,
|
||||||
'dumpdata': dump_data,
|
'dumpdata': dump_data,
|
||||||
|
@ -1526,7 +1526,7 @@ DEFAULT_ACTION_MAPPING = {
|
||||||
'startproject': startproject,
|
'startproject': startproject,
|
||||||
'syncdb': syncdb,
|
'syncdb': syncdb,
|
||||||
'validate': validate,
|
'validate': validate,
|
||||||
'test':test,
|
'test': test,
|
||||||
}
|
}
|
||||||
|
|
||||||
NO_SQL_TRANSACTION = (
|
NO_SQL_TRANSACTION = (
|
||||||
|
|
Loading…
Reference in New Issue