Django

Code

Changeset 200

Show
Ignore:
Timestamp:
07/19/05 00:55:42 (3 years ago)
Author:
adrian
Message:

Word-wrapped some code examples in tutorial03

Files:

Legend:

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

    r199 r200  
    173173 
    174174    def index(request): 
    175         latest_poll_list = polls.get_list(order_by=[('pub_date', 'DESC')], limit=5) 
     175        latest_poll_list = polls.get_list(order_by=[('pub_date', 'DESC')], 
     176            limit=5) 
    176177        output = ', '.join([p.question for p in latest_poll_list]) 
    177178        return HttpResponse(output) 
     
    187188 
    188189    def index(request): 
    189         latest_poll_list = polls.get_list(order_by=[('pub_date', 'DESC')], limit=5) 
     190        latest_poll_list = polls.get_list(order_by=[('pub_date', 'DESC')], 
     191            limit=5) 
    190192        t = template_loader.get_template('polls/index') 
    191193        c = Context(request, {