<commit_before>from django.conf.urls import patterns, url
from . import views
from django.contrib.auth import get_user_model

User = get_user_model()

urlpatterns = patterns('',
    url(r'^$', views.RootView.as_view(), name='root'),
    url(r'^me$', views.UserView.as_view(), name='user'),
    url(r'^register$', views.RegistrationView.as_view(), name='register'),
    url(r'^login$', views.LoginView.as_view(), name='login'),
    url(r'^logout$', views.LogoutView.as_view(), name='logout'),
    url(r'^activate$', views.ActivationView.as_view(), name='activate'),
    url(r'^{}$'.format(User.USERNAME_FIELD), views.SetUsernameView.as_view(), name='set_username'),
    url(r'^password$', views.SetPasswordView.as_view(), name='set_password'),
    url(r'^password/reset$', views.PasswordResetView.as_view(), name='password_reset'),
    url(r'^password/reset/confirm$', views.PasswordResetConfirmView.as_view(), name='password_reset_confirm'),<commit_msg>Added trailing slashes to urls<commit_after>from django.conf.urls import patterns, url
from . import views
from django.contrib.auth import get_user_model

User = get_user_model()

urlpatterns = patterns('',
    url(r'^$', views.RootView.as_view(), name='root'),
    url(r'^me/$', views.UserView.as_view(), name='user'),
    url(r'^register/$', views.RegistrationView.as_view(), name='register'),
    url(r'^login/$', views.LoginView.as_view(), name='login'),
    url(r'^logout/$', views.LogoutView.as_view(), name='logout'),
    url(r'^activate/$', views.ActivationView.as_view(), name='activate'),
    url(r'^{}/$'.format(User.USERNAME_FIELD), views.SetUsernameView.as_view(), name='set_username'),
    url(r'^password/$', views.SetPasswordView.as_view(), name='set_password'),
    url(r'^password/reset/$', views.PasswordResetView.as_view(), name='password_reset'),
    url(r'^password/reset/confirm/$', views.PasswordResetConfirmView.as_view(), name='password_reset_confirm'),
{'fraction_non_alphanumeric': 0.1972049689440994, 'fraction_numerical': 0.0, 'mean_word_length': 6.610236220472441, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '54925', 'n_tokens_mistral': 642, 'n_tokens_neox': 623, 'n_words': 95}