<commit_before>from django.conf.urls.defaults import patterns, url


urlpatterns = patterns('',

    # Sign in / Sign up
    url(r'^signin/$', 'users.views.signin', name='users_signin'),
    url(r'^signup/$', 'users.views.signup', name='users_signup'),
    url(r'^signout/$', 'users.views.signout', name='users_signout'),
    url(r'^confirm/(?P<confirmation_token>\w+)$',
        'users.views.confirm', name='users_confirm'),

    # Reset password urls
    url(r'^forgot/$', 'users.views.password_reset',
        name='users_forgot_password'),
    url(r'^forgot/sent/$', 'users.views.password_reset_done',
        name='users_forgot_password_done'),
    url(r'^forgot/(?P<uidb36>\w{1,13})/(?P<token>\w{1,13}-\w{1,20})/$',
        'users.views.password_reset_confirm',
        name='users_forgot_password_confirm'),

    # Profile urls
    url(r'^profile/edit/$', 'users.views.edit', name='users_edit'),
    url(r'^profile/(?P<username>[\w-]+)/$', 'users.views.profile',
        name='users_profile'),

    # List profiles
    url(r'^people/$', 'users.views.all', name='users_all'),
    url(r'^people/staff/$', 'users.views.staff', name='users_staff'),
    url(r'^people/active/$', 'users.views.active', name='users_active'),
    url(r'^people/recent/$', 'users.views.recent', name='users_recent'),
)<commit_msg>Allow users to use email addresses as usernames<commit_after>from django.conf.urls.defaults import patterns, url


urlpatterns = patterns('',

    # Sign in / Sign up
    url(r'^signin/$', 'users.views.signin', name='users_signin'),
    url(r'^signup/$', 'users.views.signup', name='users_signup'),
    url(r'^signout/$', 'users.views.signout', name='users_signout'),
    url(r'^confirm/(?P<confirmation_token>\w+)$',
        'users.views.confirm', name='users_confirm'),

    # Reset password urls
    url(r'^forgot/$', 'users.views.password_reset',
        name='users_forgot_password'),
    url(r'^forgot/sent/$', 'users.views.password_reset_done',
        name='users_forgot_password_done'),
    url(r'^forgot/(?P<uidb36>\w{1,13})/(?P<token>\w{1,13}-\w{1,20})/$',
        'users.views.password_reset_confirm',
        name='users_forgot_password_confirm'),

    # Profile urls
    url(r'^profile/edit/$', 'users.views.edit', name='users_edit'),
    url(r'^profile/(?P<username>[\.@\w-]+)/$', 'users.views.profile',
        name='users_profile'),

    # List profiles
    url(r'^people/$', 'users.views.all', name='users_all'),
    url(r'^people/staff/$', 'users.views.staff', name='users_staff'),
    url(r'^people/active/$', 'users.views.active', name='users_active'),
    url(r'^people/recent/$', 'users.views.recent', name='users_recent'),
)
{'fraction_non_alphanumeric': 0.21699887175629937, 'fraction_numerical': 0.008273787138021812, 'mean_word_length': 4.362903225806452, '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': '4074240', 'n_tokens_mistral': 970, 'n_tokens_neox': 921, 'n_words': 121}