<commit_before>from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.static import static
from django.contrib import admin

urlpatterns = [
    url(r'^$', 'shop.views.home', name='home'),
    url(r'^collection/(?P<pk>\d+)/$', 'shop.views.collection', name='collection'),
    url(r'^collection/(?P<collection_pk>\d+)/(?P<pk>\d+)/$', 'shop.views.flower', name='flower'),
    url(r'^cart/$', 'shop.views.cart', name='cart'),
    url(r'^contact/$', 'shop.views.contact', name='contact'),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^sirtrevor/', include('sirtrevor.urls')),

    url(r'^', 'pages.views.page', name='page'),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + [
    url(r'^captcha/', include('captcha.urls')),
]<commit_msg>Captcha added<commit_after>from django.conf import settings
from django.conf.urls import include, url, patterns
from django.conf.urls.static import static
from django.contrib import admin

urlpatterns = patterns('',
    url(r'^$', 'shop.views.home', name='home'),
    url(r'^collection/(?P<pk>\d+)/$', 'shop.views.collection', name='collection'),
    url(r'^collection/(?P<collection_pk>\d+)/(?P<pk>\d+)/$', 'shop.views.flower', name='flower'),
    url(r'^cart/$', 'shop.views.cart', name='cart'),
    url(r'^contact/$', 'shop.views.contact', name='contact'),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^sirtrevor/', include('sirtrevor.urls')),

    url(r'^', 'pages.views.page', name='page'),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + patterns('',
    url(r'^captcha/', include('captcha.urls')),
)
{'fraction_non_alphanumeric': 0.2290400972053463, 'fraction_numerical': 0.0, 'mean_word_length': 5.408560311284047, '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': '2918130', 'n_tokens_mistral': 598, 'n_tokens_neox': 573, 'n_words': 92}