d7eb4e022197df3ece043e871cce3d60aad4f38e,django/comicsite/views.py,,dropboxpage,#Any#Any#Any#Any#Any#,192
Before Change
raise Http404
msg = "showing dropbox based page. args: " + ",".join((site_short_name, page_title,dropboxname, dropboxpath))
p.html = msg + "<br/> {% dropbox title:"+dropboxname+" file:"+dropboxpath+" %}"
currentpage = getRenderedPageIfAllowed(p,request,site)
After Change
p = get_object_or_404(Page,comicsite__short_name=site.short_name, title=page_title)
baselink = reverse("comicsite.views.page", kwargs = {"site_short_name":p.comicsite.short_name, "page_title":p.title})
msg = "<div class=\"breadcrumbtrail\"> Displaying ""+dropboxpath+"" from dropboxfolder ""+dropboxname+"", originally linked from\
page <a href=\""+baselink+"\">"+p.title+"</a> </div>"
p.html = "{% dropbox title:"+dropboxname+" file:"+dropboxpath+" %} <br/><br/>" + msg
currentpage = getRenderedPageIfAllowed(p,request,site)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: comic/grand-challenge.org
Commit Name: d7eb4e022197df3ece043e871cce3d60aad4f38e
Time: 2012-11-26
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/views.py
Class Name:
Method Name: dropboxpage
Project Name: PyMVPA/PyMVPA
Commit Name: 3c1eafeea79d946575ea5b6b5cb02f945897d2fd
Time: 2009-12-10
Author: michael.hanke@gmail.com
File Name: mvpa/tests/test_mapper.py
Class Name:
Method Name: test_flatten
Project Name: comic/grand-challenge.org
Commit Name: 2f607a5596148c912a2705108514a84e059136ec
Time: 2012-11-26
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/views.py
Class Name:
Method Name: dropboxpage