Ticket #8285: dispatcher.diff

File dispatcher.diff, 646 bytes (added by Zal, 16 years ago)
  • django/dispatch/dispatcher.py

     
    6363        """
    6464        from django.conf import settings
    6565       
    66         if settings.DEBUG:
    67             import inspect
    68             assert inspect.getargspec(receiver)[2] is not None, \
    69                 "Signal receivers must accept keyword arguments (**kwargs)."
    70        
    7166        if dispatch_uid:
    7267            lookup_key = (dispatch_uid, _make_id(sender))
    7368        else:
Back to Top