9b91272e38330f8de3bb5caad93413449d2d430d,django/comic/urls.py,,,#,7

Before Change


// from django.contrib import admin
// admin.autodiscover()

urlpatterns = patterns("",
    // Examples:
    // url(r"^$", "comic.views.home", name="home"),
    // url(r"^comic/", include("comic.foo.urls")),

    // Uncomment the admin/doc line below to enable admin documentation:
    // url(r"^admin/doc/", include("django.contrib.admindocs.urls")),

    // Uncomment the next line to enable the admin:
    // url(r"^admin/", include(admin.site.urls)),
)

After Change



admin.autodiscover()

urlpatterns = patterns("",
    // Examples:
    // url(r"^$", "comic.views.home", name="home"),
    // url(r"^comic/", include("comic.foo.urls")),

    // Uncomment the admin/doc line below to enable admin documentation:
    // url(r"^admin/doc/", include("django.contrib.admindocs.urls")),

    // Uncomment the next line to enable the admin:
    url(r"^admin/", include(admin.site.urls)),
    
    // main page 
    url(r"^$",ListView.as_view(model=ComicSite, template_name="index.html"),name = "home"),
    
    //specific view of single comicsite
    url(r"^site/(?P<site_id>\d+)/$","ComicSite.views.site"),
)
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: comic/grand-challenge.org
Commit Name: 9b91272e38330f8de3bb5caad93413449d2d430d
Time: 2012-06-18
Author: w.s.kerkstra@gmail.com
File Name: django/comic/urls.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: ace077c302c5e6ef54ad8ce18875a8dfbc814b6a
Time: 2012-06-18
Author: w.s.kerkstra@gmail.com
File Name: django/comic/urls.py
Class Name:
Method Name:


Project Name: samuelclay/NewsBlur
Commit Name: 83080197327f6c2665e77609c6f0ba6a7817d054
Time: 2010-06-28
Author: samuel@ofbrooklyn.com
File Name: apps/opml_import/urls.py
Class Name:
Method Name: