b162f98e30c733cbb52a912908523609469b7d9e,tickets/urls.py,,,#,27

Before Change


from django.views.generic import TemplateView
from views import *

urlpatterns = [

    url(r"^moderation/$",
        moderation_home,
        name="tickets-moderation-home"),

    url(r"^moderation/tardy_users_sounds/$",
        moderation_tardy_users_sounds,
        name="tickets-moderation-tardy-users"),

    url(r"^moderation/tardy_moderators_sounds/$",
        moderation_tardy_moderators_sounds,
        name="tickets-moderation-tardy-moderators"),

    url(r"^moderation/assign/(?P<user_id>\d+)/$",
        moderation_assign_user,
        name="tickets-moderation-assign-user"),

    url(r"^moderation/assigned/(?P<user_id>\d+)/$",
        moderation_assigned,
        name="tickets-moderation-assigned"),

    url(r"^moderation/assign/ticket/(?P<user_id>\d+)/(?P<ticket_id>\d+)/$",
        moderation_assign_single_ticket,
        name="tickets-moderation-assign-single-ticket"),

    url(r"^moderation/annotations/(?P<user_id>\d+)/$",
        user_annotations,
        name="tickets-user-annotations"),

    url(r"^moderation/pending/(?P<username>[^//]+)/$",
        pending_tickets_per_user,
        name="tickets-user-pending_sounds"),

    url(r"^(?P<ticket_key>[\w\d]+)/$",
        ticket,
        name="tickets-ticket"),

    url(r"^(?P<ticket_key>[\w\d]+)/messages/$",
        sound_ticket_messages,
        name="tickets-ticket-messages"),
]

After Change


from django.views.generic import TemplateView
from views import *

urlpatterns = [

    url(r"^moderation/$",
        moderation_home,
        name="tickets-moderation-home"),

    url(r"^moderation/tardy_users_sounds/$",
        moderation_tardy_users_sounds,
        name="tickets-moderation-tardy-users"),

    url(r"^moderation/tardy_moderators_sounds/$",
        moderation_tardy_moderators_sounds,
        name="tickets-moderation-tardy-moderators"),

    url(r"^moderation/assign/(?P<user_id>\d+)/new$",
        moderation_assign_user,
        name="tickets-moderation-assign-user-new"),

    url(r"^moderation/assign/(?P<user_id>\d+)/pending$",
        moderation_assign_user_pending,
        name="tickets-moderation-assign-user-pending"),

    url(r"^moderation/assigned/(?P<user_id>\d+)/$",
        moderation_assigned,
        name="tickets-moderation-assigned"),

    url(r"^moderation/assign/ticket/(?P<user_id>\d+)/(?P<ticket_id>\d+)/$",
        moderation_assign_single_ticket,
        name="tickets-moderation-assign-single-ticket"),

    url(r"^moderation/annotations/(?P<user_id>\d+)/$",
        user_annotations,
        name="tickets-user-annotations"),

    url(r"^moderation/pending/(?P<username>[^//]+)/$",
        pending_tickets_per_user,
        name="tickets-user-pending_sounds"),

    url(r"^(?P<ticket_key>[\w\d]+)/$",
        ticket,
        name="tickets-ticket"),

    url(r"^(?P<ticket_key>[\w\d]+)/messages/$",
        sound_ticket_messages,
        name="tickets-ticket-messages"),
]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 16

Instances


Project Name: MTG/freesound
Commit Name: b162f98e30c733cbb52a912908523609469b7d9e
Time: 2018-03-07
Author: phil.tgun@gmail.com
File Name: tickets/urls.py
Class Name:
Method Name:


Project Name: samuelclay/NewsBlur
Commit Name: 757b778658932154ae14b8f6e4d7f3fdc5120d2c
Time: 2021-01-04
Author: samuel@ofbrooklyn.com
File Name: apps/api/urls.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: 6d097361b1d3e9c4ab03a77d590d6f6cd7d070c2
Time: 2018-06-13
Author: jamesmeakin@gmail.com
File Name: app/config/urls.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: f608dbd0e58b5ec84e1f5e769c2e30bbf34d9b4b
Time: 2018-05-30
Author: jamesmeakin@gmail.com
File Name: app/config/urls.py
Class Name:
Method Name: