Show
Ignore:
Timestamp:
02/14/09 23:55:50 (3 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
67c4ffa64923191771e255746fbcbf382bc1aabc
Parents:
531ce3a6fd488efc448d608ddc575d3ac5545710
git-committer:
Frederic Lepied <frederic.lepied@…> (02/14/09 23:55:50)
Message:

added a /script/<script name>/ url to download a test for testing purpose

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tester/views.py

    r531ce3a rbcaf349  
    114114    versions = SystemVersion.objects.all().order_by('-id') 
    115115    return render_to_response('index.html', {'versions': versions})     
    116      
     116 
     117def script(request, name): 
     118    return render_to_response(name + settings.TEST_SUFFIX, {'testname': name, 'system': 'system', 'log': None}) 
     119 
    117120# views.py ends here