<commit_before>from django.conf.urls.defaults import *
from .feed import blogFeed

urlpatterns = patterns('copywriting',
    (r'^feed\.rss$', blogFeed()),
    (r'^feed/$', blogFeed()),
    (r'^author/(?P<author>\w[^/]+)$', 'views.listArticlesByAuthor'),
    (r'^author/(?P<author>\w[^/]+)/$', 'views.listArticlesByAuthor'),
    (r'^tag/(?P<in_tag>\w[^/]+)$', 'views.withTag'),
    (r'^tag/(?P<in_tag>\w[^/]+)/$', 'views.withTag'),
    # (r'^(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/$', 'views.listBlogEntriesByYearMonthDay'),
    (r'^(?P<requestYear>\d+)/(?P<requestMonth>\d+)/$', 'views.listArticlesByYearMonth'),
    (r'^(?P<requestYear>\d+)/$', 'views.listArticlesByYear'),
    (r'^(?P<slug>[^\.]+)/$', 'views.showArticle'),
    (r'^$', 'views.listArticles'),
)
<commit_msg>Added django-compat for 1.8 support<commit_after>from compat import patterns, url
from .feed import blogFeed

urlpatterns = patterns('copywriting',
    url(r'^feed\.rss$', blogFeed()),
    url(r'^feed/$', blogFeed()),
    url(r'^author/(?P<author>\w[^/]+)$', 'views.listArticlesByAuthor'),
    url(r'^author/(?P<author>\w[^/]+)/$', 'views.listArticlesByAuthor'),
    url(r'^tag/(?P<in_tag>\w[^/]+)$', 'views.withTag'),
    url(r'^tag/(?P<in_tag>\w[^/]+)/$', 'views.withTag'),
    # (r'^(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/$', 'views.listBlogEntriesByYearMonthDay'),
    url(r'^(?P<requestYear>\d+)/(?P<requestMonth>\d+)/$', 'views.listArticlesByYearMonth'),
    url(r'^(?P<requestYear>\d+)/$', 'views.listArticlesByYear'),
    url(r'^(?P<slug>[^\.]+)/$', 'views.showArticle'),
    url('^$', 'views.listArticles'),
)

{'fraction_non_alphanumeric': 0.308125, 'fraction_numerical': 0.00125, 'mean_word_length': 5.2784313725490195, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '4582749', 'n_tokens_mistral': 686, 'n_tokens_neox': 644, 'n_words': 68}