Skip to content
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...
1 parent 9dc4ba8 commit 3958c36319d5724d3478e1d8664a5aee4322c386 @freakboy3742 freakboy3742 committed Aug 11, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/__init__.py
View
2 django/db/__init__.py
@@ -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.

0 comments on commit 3958c36

Please sign in to comment.
Something went wrong with that request. Please try again.