Django

Code

Ticket #3664: fix.diff

File fix.diff, 0.6 kB (added by Gary Wilson <gary.wilson@gmail.com>, 2 years ago)

wording fix

  • docs/model-api.txt

    old new  
    17601760    <a href="{{ object.get_absolute_url }}">{{ object.name }}</a> 
    17611761 
    17621762.. note:: 
    1763     The string you return from ``get_absolute_url()`` must be use only ASCII 
     1763    The string you return from ``get_absolute_url()`` must contain only ASCII 
    17641764    characters (required by the URI spec, `RFC 2396`_) that have been 
    17651765    URL-encoded, if necessary. Code and templates using ``get_absolute_url()`` 
    17661766    should be able to use the result directly without needing to do any