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

from .views import PostListView, PostDetailView, PostEditView, PostCreateView

urlpatterns = patterns('',
                       url(r'^$', PostListView.as_view(), name="list"),
                       url(r'^create/$', PostCreateView.as_view(), name='create_post'),
                       url(r'^edit/blog/(?P<slug>[\w-]+)$', PostEditView.as_view(), name='edit_posts'),
                       url(r'^(?P<slug>[\w-]+)$', PostDetailView.as_view(), name='detail'),
)
<commit_msg>Removed the edit route, made details the view and edit route for the posts and post comments<commit_after>from django.conf.urls import patterns, url

from .views import PostListView, PostEditView, PostCreateView

urlpatterns = patterns('',
                       url(r'^$', PostListView.as_view(), name="list"),
                       url(r'^create/$', PostCreateView.as_view(), name='create_post'),
                       url(r'^(?P<slug>[\w-]+)$', PostEditView.as_view(), name='detail'),
)

{'fraction_non_alphanumeric': 0.1665043816942551, 'fraction_numerical': 0.0, 'mean_word_length': 3.0, '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': '3975330', 'n_tokens_mistral': 312, 'n_tokens_neox': 296, 'n_words': 64}