mirror of https://github.com/django/django.git
Updated error message for bad database engine
removing typo in the process. Thanks to Carlos Palol for the catch. Closes pull 450
This commit is contained in:
parent
6b3d2bc981
commit
1a3ff63199
|
@ -17,9 +17,8 @@ def sql_create(app, style, connection):
|
||||||
# This must be the "dummy" database backend, which means the user
|
# This must be the "dummy" database backend, which means the user
|
||||||
# hasn't set ENGINE for the database.
|
# hasn't set ENGINE for the database.
|
||||||
raise CommandError("Django doesn't know which syntax to use for your SQL statements,\n" +
|
raise CommandError("Django doesn't know which syntax to use for your SQL statements,\n" +
|
||||||
"because you haven't specified the ENGINE setting for the database.\n" +
|
"because you haven't properly specified the ENGINE setting for the database.\n" +
|
||||||
"Edit your settings file and change DATBASES['default']['ENGINE'] to something like\n" +
|
"see: https://docs.djangoproject.com/en/dev/ref/settings/#databases")
|
||||||
"'django.db.backends.postgresql' or 'django.db.backends.mysql'.")
|
|
||||||
|
|
||||||
# Get installed models, so we generate REFERENCES right.
|
# Get installed models, so we generate REFERENCES right.
|
||||||
# We trim models from the current app so that the sqlreset command does not
|
# We trim models from the current app so that the sqlreset command does not
|
||||||
|
|
Loading…
Reference in New Issue