<commit_before>from django.urls import include, path, re_path

from tango_comments.feeds import LatestCommentFeed

from testapp import views

feeds = {
     'comments': LatestCommentFeed,
}

urlpatterns = [
    path('', include('tango_comments.urls')),
    path('accounts/login/', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
    path('accounts/logout/', 'django.contrib.auth.views.logout'),
    path('post/', views.custom_submit_comment),
    re_path(r'^flag/(\d+)/$', views.custom_flag_comment),
    re_path(r'^delete/(\d+)/$', views.custom_delete_comment),
    re_path(r'^approve/(\d+)/$', views.custom_approve_comment),
    re_path(r'^cr/(\d+)/(.+)/$', 'django.contrib.contenttypes.views.shortcut', name='comments-url-redirect'),
    path('rss/comments/', LatestCommentFeed),
]<commit_msg>fixed urls<commit_after>from django.urls import include, path, re_path

from tango_comments.feeds import LatestCommentFeed

from tests.testapp import views

feeds = {
     'comments': LatestCommentFeed,
}

urlpatterns = [
    path('', include('tango_comments.urls')),
    path('accounts/login/', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
    path('accounts/logout/', 'django.contrib.auth.views.logout'),
    path('post/', views.custom_submit_comment),
    re_path(r'^flag/(\d+)/$', views.custom_flag_comment),
    re_path(r'^delete/(\d+)/$', views.custom_delete_comment),
    re_path(r'^approve/(\d+)/$', views.custom_approve_comment),
    re_path(r'^cr/(\d+)/(.+)/$', 'django.contrib.contenttypes.views.shortcut', name='comments-url-redirect'),
    path('rss/comments/', LatestCommentFeed),
]
{'fraction_non_alphanumeric': 0.19242516799022602, 'fraction_numerical': 0.0, 'mean_word_length': 5.134831460674158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3687403', 'n_tokens_mistral': 578, 'n_tokens_neox': 567, 'n_words': 79}