Add an argument to connection_created signal to distinguish connections in a multi-db environment
|Reported by:||liangent||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.2|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
connection_created signal. In a single-db environment, using django.db.connection is ok; in a multi-db environment, it's necessary to add an argument to indicate the connection being created. Either a connection name or a connection object is acceptable for me.