Loading django/db/utils.py +1 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
django/db/utils.py +1 −2 Original line number Diff line number Diff line Loading @@ -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