Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed a bug I introduced in my previosu ommit.

  • Loading branch information...
commit 0b69a755029f8a8ba6005b9d77be8132a7bc0fb3 1 parent df3d7e6
@alex alex authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 django/db/
7 django/db/
@@ -39,8 +39,15 @@ def __setattr__(self, name, value):
def __delattr__(self, name):
return delattr(connections[DEFAULT_DB_ALIAS], name)
+ def __eq__(self, other):
+ return connections[DEFAULT_DB_ALIAS] == other
+ def __ne__(self, other):
+ return connections[DEFAULT_DB_ALIAS] != other
connection = DefaultConnectionProxy()
class DefaultBackendProxy(object):
Temporary proxy class used during deprecation period of the `backend` module

0 comments on commit 0b69a75

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