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:
Preston Holmes 2012-10-21 07:37:57 -07:00
parent 6b3d2bc981
commit 1a3ff63199
1 changed files with 2 additions and 3 deletions

View File

@ -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