              message = 'POST data has errors'
      else:
          form = TestForm()
          message = 'GET form page'
      return render_to_response('form_view.html', 
          { 
              'form': form,
              'message': message
          }
      )
          
 
</s> remove     
    t = Template('This is a view that modifies the session.', 
 </s> add     t = Template('This is a view that modifies the session.', </s> remove         'First Test message', 
        'This is the first test email', 
        'from@example.com', 
 </s> add         'First Test message',
        'This is the first test email',
        'from@example.com', </s> remove         'Second Test message', 
        'This is the second test email', 
        'from@example.com', 
 </s> add         'Second Test message',
        'This is the second test email',
        'from@example.com', </s> remove         "Test message", 
        "This is a test email", 
        "from@example.com", 
 </s> add         "Test message",
        "This is a test email",
        "from@example.com",
    return render_to_response('form_view.html',
        {
              message = 'POST data has errors'
      else:
          form = TestForm()
          message = 'GET form page'
    return render_to_response('form_view.html',
        {
    return render_to_response('form_view.html',
        {
              'form': form,
              'message': message
          }
      )
          
keep keep keep keep replace replace keep keep keep keep keep
 Removed trailing whitespace.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6046 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/modeltests/test_client/views.py