<commit_before># -*- coding: utf-8 -*-
from django.conf.urls import patterns, url, include

from users import views

urlpatterns = patterns(
    '',

    # TODO(<EMAIL>): Retire this include -- move into main URL config files
    url(r'^(?P<user>[a-zA-Z0-9\-\.]+)/sources/',
        include('apps.sources.urls')),

    # URL pattern for the UserListView
    url(regex=r'^$',
        view=views.UserListView.as_view(),
        name='list'),

    # URL pattern for the UserRedirectView
    url(regex=r'^~redirect/$',
        view=views.UserRedirectView.as_view(),
        name='redirect'),

    # URL pattern for the UserDetailView
    url(regex=r'^(?P<username>[\w\-_\.]+)/$',
        view=views.UserDetailView.as_view(),
        name='detail'),

    # URL pattern for the UserUpdateView
    url(regex=r'^update/(?P<username>[\w\-_]+)/$',
        view=views.UserUpdateView.as_view(),
        name='update'),
)
<commit_msg>Removed old apps.sources.urls reference<commit_after># -*- coding: utf-8 -*-
from django.conf.urls import patterns, url, include

from users import views

urlpatterns = patterns(
    '',

    # TODO(<EMAIL>): Retire this include -- move into main URL config files
    #url(r'^(?P<user>[a-zA-Z0-9\-\.]+)/sources/',
    #    include('apps.sources.urls')),

    # URL pattern for the UserListView
    url(regex=r'^$',
        view=views.UserListView.as_view(),
        name='list'),

    # URL pattern for the UserRedirectView
    url(regex=r'^~redirect/$',
        view=views.UserRedirectView.as_view(),
        name='redirect'),

    # URL pattern for the UserDetailView
    url(regex=r'^(?P<username>[\w\-_\.]+)/$',
        view=views.UserDetailView.as_view(),
        name='detail'),

    # URL pattern for the UserUpdateView
    url(regex=r'^update/(?P<username>[\w\-_]+)/$',
        view=views.UserUpdateView.as_view(),
        name='update'),
)

{'fraction_non_alphanumeric': 0.1786096256684492, 'fraction_numerical': 0.0032085561497326204, 'mean_word_length': 2.9639830508474576, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4853920', 'n_tokens_mistral': 630, 'n_tokens_neox': 606, 'n_words': 121}