~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/text.py

  • Committer: Matt Giuca
  • Date: 2010-07-20 08:31:02 UTC
  • Revision ID: matt.giuca@gmail.com-20100720083102-i739uh74be6dcl1c
Added new function on Project page to export a Bash script which exports all submissions for that project. (LP: #579771)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    template = 'template.txt'
36
36
    content_type = 'text/plain'
37
37
 
 
38
    def __init__(self, *args, **kwargs):
 
39
        super(TextView, self).__init__(*args, **kwargs)
 
40
 
38
41
    def get_context_ancestry(self, req):
39
42
        return req.publisher.get_ancestors(self.context)
40
43