<commit_before>from django.conf.urls import patterns, url

from views import CategoryListView, ForumDetailView


urlpatterns = patterns('',
    url(r'^$', CategoryListView.as_view(), name='overview'),
    url(r'^(?P<pk>\d+)/$', ForumDetailView.as_view(), name='forum'),
)<commit_msg>add url for topic detail view<commit_after>from django.conf.urls import patterns, url

from views import CategoryListView, ForumDetailView, TopicDetailView


urlpatterns = patterns('',
    url(r'^$', CategoryListView.as_view(), name='overview'),
    url(r'^(?P<pk>\d+)/$', ForumDetailView.as_view(), name='forum'),
    url(r'^topic/(?P<pk>\d+)/$', TopicDetailView.as_view(), name='topic'),
)
{'fraction_non_alphanumeric': 0.1884272997032641, 'fraction_numerical': 0.0, 'mean_word_length': 6.5, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6460111', 'n_tokens_mistral': 233, 'n_tokens_neox': 216, 'n_words': 45}