<commit_before>from django.conf.urls import url
from django.contrib.auth import views as auth_views

from .views import (SignupView, UserProfileUpdateView, DrawNamesView,
                    UserProfileDetailView, ActivateView,
                    RequestActivationEmailView, MassEmailView)

urlpatterns = [
    url(r'^login/$', auth_views.login, name='login',
        kwargs={'template_name': 'user_manager/login.html'}),
    url(r'^logout/$', auth_views.logout, name='logout',
        kwargs={'next_page': '/'}),
    url(r'^create/$', SignupView.as_view()),
    url(r'^update/$', UserProfileUpdateView.as_view(), name='update'),
    url(r'^activate/(?P<username>[0-9A-Za-z_]+)-(?P<code>[0-9A-Za-z_:-]+)/$',
        ActivateView.as_view(), name='activate-user'),
    url(r'^activate/request/$', RequestActivationEmailView.as_view(),
        name='activate-user'),
    url(r'^draw-names/$', DrawNamesView.as_view()),
    url(r'^mass-email/$', MassEmailView.as_view()),
    url(r'^@(?P<username>[a-zA-Z0-9_]+)/$', UserProfileDetailView.as_view(),
        name='user-detail'),
]<commit_msg>Update URL names<commit_after>from django.conf.urls import url
from django.contrib.auth import views as auth_views

from .views import (SignupView, UserProfileUpdateView, DrawNamesView,
                    UserProfileDetailView, ActivateView,
                    RequestActivationEmailView, MassEmailView)

urlpatterns = [
    url(r'^login/$', auth_views.login, name='login',
        kwargs={'template_name': 'user_manager/login.html'}),
    url(r'^logout/$', auth_views.logout, name='logout',
        kwargs={'next_page': '/'}),
    url(r'^signup/$', SignupView.as_view(), name='signup'),
    url(r'^account/$', UserProfileUpdateView.as_view(), name='account'),
    url(r'^activate/(?P<username>[0-9A-Za-z_]+)-(?P<code>[0-9A-Za-z_:-]+)/$',
        ActivateView.as_view(), name='activate-user'),
    url(r'^activate/request/$', RequestActivationEmailView.as_view(),
        name='activate-user'),
    url(r'^draw-names/$', DrawNamesView.as_view(), name='draw-names'),
    url(r'^mass-email/$', MassEmailView.as_view(), name='mass-email'),
    url(r'^@(?P<username>[a-zA-Z0-9_]+)/$', UserProfileDetailView.as_view(),
        name='user-detail'),
]
{'fraction_non_alphanumeric': 0.19606087735004477, 'fraction_numerical': 0.005371530886302597, 'mean_word_length': 4.149769585253456, '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': '2235834', 'n_tokens_mistral': 774, 'n_tokens_neox': 741, 'n_words': 101}