Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected a problem with the error message when the nominated databas…

…e backend doesn't exist. Thanks to Ramiro Morales for the report and fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3958c36319d5724d3478e1d8664a5aee4322c386 1 parent 9dc4ba8
Russell Keith-Magee freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/__init__.py
2  django/db/__init__.py
View
@@ -28,7 +28,7 @@
available_backends.sort()
if settings.DATABASE_ENGINE not in available_backends:
raise ImproperlyConfigured, "%r isn't an available database backend. Available options are: %s\nError was: %s" % \
- (settings.DATABASE_ENGINE, ", ".join(map(repr, available_backends, e_user)))
+ (settings.DATABASE_ENGINE, ", ".join(map(repr, available_backends)), e_user)
else:
raise # If there's some other error, this must be an error in Django itself.
Please sign in to comment.
Something went wrong with that request. Please try again.