d7eb4e022197df3ece043e871cce3d60aad4f38e,django/comicsite/views.py,,dropboxpage,#Any#Any#Any#Any#Any#,192
Before Change
[site, pages, metafooterpages] = site_get_standard_vars(site_short_name)
try:
p = Page.objects.get(comicsite__short_name=site.short_name, title=page_title)
except Page.DoesNotExist:
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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: MTG/freesound
Commit Name: 634f57d4be0083231f14efff80a0ea8e0399cc63
Time: 2019-05-02
Author: frederic.font@upf.edu
File Name: monitor/views.py
Class Name:
Method Name: monitor_home
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