mirror of
https://github.com/django/django.git
synced 2025-01-27 10:39:40 +00:00
Fixed the world's ugliest syntax (that's not an actual error) that snuck in with [14857].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2a46323124
commit
a4898dc50b
@ -131,8 +131,7 @@ class ConnectionRouter(object):
|
||||
# If the router doesn't have a method, skip to the next one.
|
||||
pass
|
||||
else:
|
||||
chosen_db = method(model, **hints
|
||||
)
|
||||
chosen_db = method(model, **hints)
|
||||
if chosen_db:
|
||||
return chosen_db
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user