  
  def session_view(request):
      "A view that modifies the session"
      request.session['tobacconist'] = 'hovercraft'
      
      t = Template('This is a view that modifies the session.', 
                   name='Session Modifying View Template')
      c = Context()
      return HttpResponse(t.render(c))
  
  def broken_view(request):
 
</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", </s> remove     return render_to_response('form_view.html', 
        { 
 </s> add     return render_to_response('form_view.html',
        {
    t = Template('This is a view that modifies the session.',
  
  def session_view(request):
      "A view that modifies the session"
      request.session['tobacconist'] = 'hovercraft'
    t = Template('This is a view that modifies the session.',
    t = Template('This is a view that modifies the session.',
                   name='Session Modifying View Template')
      c = Context()
      return HttpResponse(t.render(c))
  
  def broken_view(request):
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