Ticket #14054: 14054.diff

File 14054.diff, 1.0 KB (added by Rob Hudson, 14 years ago)
  • docs/ref/signals.txt

    diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
    index 12372dd..eed12ae 100644
    a b Arguments sent with this signal:  
    438438    context
    439439        The :class:`~django.template.Context` with which the template was
    440440        rendered.
     441
     442Database Wrappers
     443=================
     444
     445.. module:: django.db.backends
     446   :synopsis: Core signals sent by the database wrapper.
     447
     448Signals sent by the database wrapper when a database connection is
     449initiated.
     450
     451connection_created
     452------------------
     453
     454.. data:: django.db.backends.signals.connection_created
     455   :module:
     456
     457Sent when the database wrapper makes the initial connection to the
     458database.  This is particularly useful if you'd like to send any post
     459connection commands to the SQL backend.
     460
     461Arguments sent with this signal:
     462
     463    sender
     464        The database wrapper class -- i.e.
     465        :class: `django.db.backends.postgresql_psycopg2.DatabaseWrapper` or
     466        :class: `django.db.backends.mysql.DatabaseWrapper`, etc.
     467
     468
Back to Top