2f607a5596148c912a2705108514a84e059136ec,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)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 12

Instances


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


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: comic/grand-challenge.org
Commit Name: 3f494934ffc652e0b57d1a2ec941bdf8d5674950
Time: 2012-09-11
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/templatetags/template_tags.py
Class Name: DatasetNode
Method Name: render


Project Name: comic/grand-challenge.org
Commit Name: de702931f3e1aae5d1510d329f5bebfba5b02a90
Time: 2012-09-11
Author: w.s.kerkstra@gmail.com
File Name: django/comicsite/templatetags/template_tags.py
Class Name: DatasetNode
Method Name: render