Ticket #14559: typos.diff

File typos.diff, 2.6 KB (added by Gabriel Hurley, 14 years ago)
  • django/dispatch/dispatcher.py

     
    4141                A function or an instance method which is to receive signals.
    4242                Receivers must be hashable objects.
    4343
    44                 if weak is True, then receiver must be weak-referencable (more
     44                If weak is True, then receiver must be weak-referencable (more
    4545                precisely saferef.safeRef() must be able to create a reference
    4646                to the receiver).
    4747       
     
    5252                dispatch_uid.
    5353
    5454            sender
    55                 The sender to which the receiver should respond Must either be
     55                The sender to which the receiver should respond. Must either be
    5656                of type Signal, or None to receive events from any sender.
    5757
    5858            weak
    59                 Whether to use weak references to the receiver By default, the
     59                Whether to use weak references to the receiver. By default, the
    6060                module will attempt to use weak references to the receiver
    6161                objects. If this parameter is false, then strong references will
    6262                be used.
     
    170170        Arguments:
    171171       
    172172            sender
    173                 The sender of the signal Can be any python object (normally one
     173                The sender of the signal. Can be any python object (normally one
    174174                registered with a connect if you actually want something to
    175175                occur).
    176176
     
    182182        Return a list of tuple pairs [(receiver, response), ... ]. May raise
    183183        DispatcherKeyError.
    184184
    185         if any receiver raises an error (specifically any subclass of
     185        If any receiver raises an error (specifically any subclass of
    186186        Exception), the error instance is returned as the result for that
    187187        receiver.
    188188        """
  • django/middleware/common.py

     
    9090        return http.HttpResponsePermanentRedirect(newurl)
    9191
    9292    def process_response(self, request, response):
    93         "Check for a flat page (for 404s) and calculate the Etag, if needed."
     93        "Send broken link emails and calculate the Etag, if needed."
    9494        if response.status_code == 404:
    9595            if settings.SEND_BROKEN_LINK_EMAILS:
    9696                # If the referrer was from an internal link or a non-search-engine site,
Back to Top