Django

Code

Changeset 7130

Show
Ignore:
Timestamp:
02/18/08 17:43:12 (7 months ago)
Author:
mtredinnick
Message:

Fixed a few errors in the documentation. Thanks, Matthew Flanagan, panni@fragstore.net and adamv.

Fixed #6411, #6426, #6524, #6555.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/db-api.txt

    r6405 r7130  
    16061606    print e.blog  # Doesn't hit the database; uses cached version. 
    16071607 
    1608 ``select_related()`` is documented in the "QuerySet methods that return new 
    1609 QuerySets" section above. 
     1608``select_related()`` is documented in the `QuerySet methods that return new QuerySets`_ section above. 
    16101609 
    16111610Backward 
  • django/trunk/docs/serialization.txt

    r6787 r7130  
    8989    for deserialized_object in serializers.deserialize("xml", data): 
    9090        if object_should_be_saved(deserialized_object): 
    91             obj.save() 
     91            deserialized_object.save() 
    9292 
    9393In other words, the usual use is to examine the deserialized objects to make 
  • django/trunk/docs/templates_python.txt

    r7020 r7130  
    396396~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    397397 
     398**New in Django development version** 
     399 
    398400If ``TEMPLATE_CONTEXT_PROCESSORS`` contains this processor, every 
    399401``RequestContext`` will contain a variable ``MEDIA_URL``, providing the 
     
    10151017 
    10161018    def render(self, context): 
    1017         t = template.load_template('small_fragment.html') 
     1019        t = template.loader.get_template('small_fragment.html') 
    10181020        return t.render(Context({'var': obj}, autoescape=context.autoescape)) 
    10191021