Changes between Initial Version and Version 1 of Ticket #14912


Ignore:
Timestamp:
Dec 16, 2010, 4:20:18 PM (14 years ago)
Author:
Gabriel Hurley
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14912 – Description

    initial v1  
    11I was looking at the source code for the urlize filter today and realized the following:
    22
    3  1. The docstring for the `urlize` has much better documentation than the reference docs do.
     3 1. The docstring for `django.utils.html.urlize` has much better documentation than the reference docs do.
    44 2. The `autoescape` keyword argument to both the `urlize` and `urlizetrunc` template filters is not documented.
    5  3. The `limit` argument to `urlizetrunc` isn't explicitly documented and needs an example.
    6  4. The the `nofollow` argument to `django.utils.html.urlize` is always passed as `True` by `django.template.defaultfilters.urlize` and `django.template.defaultfilters.urlizetrunc`. While this is a good default, it definitely needs to be documented.
     5 3. The `nofollow` argument to `django.utils.html.urlize` is always passed as `True` by `django.template.defaultfilters.urlize` and `django.template.defaultfilters.urlizetrunc`. While this is a good default, it definitely needs to be documented.
    76
    87All of the above needs to be incorporated into the docs for those two filters, and they need both more and better examples.
Back to Top