mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
magic-removal: Fixed #1556 -- Fixed typo in django.core.management from [2585]. Thanks, pawel.sawicki
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
344cc981f6
commit
5072df1ac4
@ -537,7 +537,7 @@ def install(app):
|
||||
* At least one of the database tables already exists.
|
||||
* The SQL was invalid.
|
||||
Hint: Look at the output of 'django-admin.py sqlall %s'. That's the SQL this command wasn't able to run.
|
||||
The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(e) + '\n')
|
||||
The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(str(e)) + '\n')
|
||||
transaction.rollback_unless_managed()
|
||||
sys.exit(1)
|
||||
transaction.commit_unless_managed()
|
||||
@ -573,7 +573,7 @@ Type 'yes' to continue, or 'no' to cancel: """)
|
||||
* At least one of the database tables already exists.
|
||||
* The SQL was invalid.
|
||||
Hint: Look at the output of 'django-admin.py sqlreset %s'. That's the SQL this command wasn't able to run.
|
||||
The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(e) + '\n')
|
||||
The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(str(e)) + '\n')
|
||||
transaction.rollback_unless_managed()
|
||||
sys.exit(1)
|
||||
transaction.commit_unless_managed()
|
||||
|
Loading…
x
Reference in New Issue
Block a user