<commit_before>from django.conf import settings
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template

urlpatterns = patterns(
    '',

    url(r'^$', 'remo.profiles.views.main', name='main'),

    # profiles
    url(r'^/u/(?P<display_name>[A-Za-z0-9_])/$',
        'remo.profiles.views.view_profile', name='profiles_view_profile'),
    url(r'^/u/(?P<display_name>[A-Za-z0-9_])/edit/$',
        'remo.profiles.views.edit', name='profiles_edit'),

    url(r'^people/me/$', 'remo.profiles.views.view_my_profile',
        name='profiles_view_my_profile'),
    url(r'^people/invite/$', 'remo.profiles.views.invite',
        name='profiles_invite'),
    url(r'^people/', 'remo.profiles.views.list_profiles',
        name='profiles_list_profiles'),

    # browserid
    url(r'^browserid/', include('django_browserid.urls')),

    # login / logout
    url(r'^login/plain/$', 'remo.profiles.views.plainlogin',
        {'template_name':'plainlogin.html'}, name='plainlogin'),
    url(r'^logout/$', 'django.contrib.auth.views.logout',
        {'next_page':'/'}, name="logout"),
)

## In DEBUG mode, serve media files through Django.<commit_msg>Typo fix in profile urls<commit_after>from django.conf import settings
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template

urlpatterns = patterns(
    '',

    url(r'^$', 'remo.profiles.views.main', name='main'),

    # profiles
    url(r'^u/(?P<display_name>[A-Za-z0-9_]+)/$',
        'remo.profiles.views.view_profile', name='profiles_view_profile'),
    url(r'^u/(?P<display_name>[A-Za-z0-9_]+)/edit/$',
        'remo.profiles.views.edit', name='profiles_edit'),

    url(r'^people/me/$', 'remo.profiles.views.view_my_profile',
        name='profiles_view_my_profile'),
    url(r'^people/invite/$', 'remo.profiles.views.invite',
        name='profiles_invite'),
    url(r'^people/', 'remo.profiles.views.list_profiles',
        name='profiles_list_profiles'),

    # browserid
    url(r'^browserid/', include('django_browserid.urls')),

    # login / logout
    url(r'^login/plain/$', 'remo.profiles.views.plainlogin',
        {'template_name':'plainlogin.html'}, name='plainlogin'),
    url(r'^logout/$', 'django.contrib.auth.views.logout',
        {'next_page':'/'}, name="logout"),
)

## In DEBUG mode, serve media files through Django.
{'fraction_non_alphanumeric': 0.19164204305614183, 'fraction_numerical': 0.0033769523005487546, 'mean_word_length': 4.010570824524313, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7606724', 'n_tokens_mistral': 869, 'n_tokens_neox': 829, 'n_words': 109}