<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,12 +3,16 @@ import sys
 from django.conf import settings
 from django.core.signals import request_started, request_finished, \
     got_request_exception
-from django.db.backends.signals import connection_created
 from django.db.models.signals import class_prepared, pre_init, post_init, \
     pre_save, post_save, pre_delete, post_delete, post_syncdb
 from django.dispatch.dispatcher import WEAKREF_TYPES
 from django.template.loader import render_to_string
 
+try:
+    from django.db.backends.signals import connection_created
+except ImportError:
+    connection_created = None
+
 from debug_toolbar.panels import DebugPanel
 
 class SignalDebugPanel(DebugPanel):
@@ -56,6 +60,8 @@ class SignalDebugPanel(DebugPanel):
         keys.sort()
         for name in keys:
             signal = self.signals[name]
+            if signal is None:
+                continue
             receivers = []
             for (receiverkey, r_senderkey), receiver in signal.receivers:
                 if isinstance(receiver, WEAKREF_TYPES):</diff>
      <filename>debug_toolbar/panels/signals.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1956ee540c75f9d4226f0352df5b06aae5c02703</id>
    </parent>
  </parents>
  <author>
    <name>Alex Gaynor</name>
    <email>alex.gaynor@gmail.com</email>
  </author>
  <url>http://github.com/robhudson/django-debug-toolbar/commit/c9cbbb4c5b636676674379367f072c08c0e78f84</url>
  <id>c9cbbb4c5b636676674379367f072c08c0e78f84</id>
  <committed-date>2009-06-15T12:37:20-07:00</committed-date>
  <authored-date>2009-06-12T09:14:37-07:00</authored-date>
  <message>only conditionally include the Django 1.1 signal for backwards compatibility

Signed-off-by: Rob Hudson &lt;rob@tastybrew.com&gt;</message>
  <tree>936accb30210914ce354eaf8fdac5974433fe9c2</tree>
  <committer>
    <name>Rob Hudson</name>
    <email>rob@tastybrew.com</email>
  </committer>
</commit>
