<commit_before>from django.conf.urls import url
from .views import *
from django.conf.urls import include
from rest_framework.urlpatterns import format_suffix_patterns
urlpatterns = [
    url(r'^$', Home.get_page, name='home'),
    url(r'^Comment$', Comment.get_page),
    url(r'^Comment$', Comment.get_page),
    url(r'^Search$', SearchList.get_page),
    url(r'^accounts/', include('django.contrib.auth.urls')),
    url(r'^API/AddTopic', ApiTopic.addTopic),
    url(r'^API/SearchTopic', ApiTopic.searchTopic),
    url(r'^API/FollowTopic', ApiTopic.followTopic),
    url(r'^API/TopicLister', ApiTopic.topicListerGet),
    url(r'^API/AddComment', ApiComment.addComment, name="addComment"),
    url(r'^API/EditComment', ApiComment.editComment),
    url(r'^API/RateComment', ApiComment.rateComment, name="rate"),
    url(r'^API/AddRelation', ApiRelation.addRelation),
    url(r'^API/RateRelation', ApiRelation.rateRelation),
    url(r'^API/AddTag', ApiTag.addTag, name="addTag"),
    url(r'^API/SearchTag', ApiTag.searchTag),
    url(r'^API/Register', ApiAuthentication.register),
    url(r'^API/Login', ApiAuthentication.login),
    url(r'^topic/(?P<id>[0-9]+)', Comment.get_page),
    url(r'^relation/(?P<id>[0-9]+)', Relation.get_page),
    url(r'^API/T/$', ApiTopic.TopicList.as_view()),
    url(r'^API/T/(?P<pk>[0-9]+)/$', ApiTopic.TopicDetail.as_view()),
    url(r'signup$', Home.get_signup_page, name="signup"),
]
urlpatterns = format_suffix_patterns(urlpatterns)<commit_msg>I-223 - Web - Add Comment redirection - correction<commit_after>from django.conf.urls import url
from .views import *
from django.conf.urls import include
from rest_framework.urlpatterns import format_suffix_patterns
urlpatterns = [
    url(r'^$', Home.get_page, name='home'),
    url(r'^Comment$', Comment.get_page),
    url(r'^Comment$', Comment.get_page),
    url(r'^Search$', SearchList.get_page),
    url(r'^accounts/', include('django.contrib.auth.urls')),
    url(r'^API/AddTopic', ApiTopic.addTopic),
    url(r'^API/SearchTopic', ApiTopic.searchTopic),
    url(r'^API/FollowTopic', ApiTopic.followTopic),
    url(r'^API/GetFollowedTopic', ApiTopic.getFollowedTopics),
    url(r'^API/GetViewedTopic', ApiTopic.getViewedTopics),
    url(r'^API/GetCommentedTopic', ApiTopic.getCommentedTopics),
    url(r'^API/TopicLister', ApiTopic.topicListerGet),
    url(r'^API/AddComment', ApiComment.addComment, name="addComment"),
    url(r'^API/EditComment', ApiComment.editComment),
    url(r'^API/RateComment', ApiComment.rateComment, name="rate"),
    url(r'^API/AddRelation', ApiRelation.addRelation),
    url(r'^API/RateRelation', ApiRelation.rateRelation),
    url(r'^API/AddTag', ApiTag.addTag, name="addTag"),
    url(r'^API/SearchTag', ApiTag.searchTag),
    url(r'^API/Register', ApiAuthentication.register),
    url(r'^API/Login', ApiAuthentication.login),
    url(r'^topic/(?P<id>[0-9]+)', Comment.get_page),
    url(r'^relation/(?P<id>[0-9]+)', Relation.get_page),
    url(r'^API/T/$', ApiTopic.TopicList.as_view()),
    url(r'^API/T/(?P<pk>[0-9]+)/$', ApiTopic.TopicDetail.as_view()),
    url(r'signup$', Home.get_signup_page, name="signup"),
]
urlpatterns = format_suffix_patterns(urlpatterns)
{'fraction_non_alphanumeric': 0.18938442211055276, 'fraction_numerical': 0.004711055276381909, 'mean_word_length': 5.621621621621622, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5546456', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1163, 'n_words': 148}