Django

Code

Changeset 3913

Show
Ignore:
Timestamp:
10/23/06 02:46:22 (2 years ago)
Author:
mtredinnick
Message:

Fixed #2929 -- Replaced a few occurrences of DEFAULT_MIME_TYPE with the correct
DEFAULT_CONTENT_TYPE setting variable.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/generic_views.txt

    r3526 r3913  
    185185 
    186186    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    187       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     187      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    188188 
    189189    * ``allow_future``: A boolean specifying whether to include "future" 
     
    271271 
    272272    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    273       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     273      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    274274 
    275275    * ``allow_future``: A boolean specifying whether to include "future" 
     
    358358 
    359359    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    360       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     360      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    361361 
    362362    * ``allow_future``: A boolean specifying whether to include "future" 
     
    439439 
    440440    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    441       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     441      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    442442 
    443443    * ``allow_future``: A boolean specifying whether to include "future" 
     
    524524 
    525525    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    526       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     526      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    527527 
    528528    * ``allow_future``: A boolean specifying whether to include "future" 
     
    634634 
    635635    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    636       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     636      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    637637 
    638638    * ``allow_future``: A boolean specifying whether to include "future" 
     
    708708 
    709709    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    710       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     710      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    711711 
    712712**Template name:** 
     
    820820 
    821821    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
    822       to the value of the ``DEFAULT_MIME_TYPE`` setting. 
     822      to the value of the ``DEFAULT_CONTENT_TYPE`` setting. 
    823823 
    824824**Template name:** 
  • django/trunk/docs/request_response.txt

    r3545 r3913  
    342342------- 
    343343 
    344 ``__init__(content='', mimetype=DEFAULT_MIME_TYPE)`` 
     344``__init__(content='', mimetype=DEFAULT_CONTENT_TYPE)`` 
    345345    Instantiates an ``HttpResponse`` object with the given page content (a 
    346     string) and MIME type. The ``DEFAULT_MIME_TYPE`` is ``'text/html'``. 
     346    string) and MIME type. The ``DEFAULT_CONTENT_TYPE`` is ``'text/html'``. 
    347347 
    348348    ``content`` can be an iterator or a string. If it's an iterator, it should