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

urlpatterns = patterns('',
    (r'login/$', 'authentic2.auth2_auth.views.login'),
#    (r'password/change/$','authentic2.auth2_auth.views.password_change'),
    (r'$', include('registration.urls')),
)

if settings.AUTH_OPENID:
    urlpatterns += patterns('',
        (r'^accounts/openid/',
            include('authentic2.auth2_auth.auth2_openid.urls')),
    )

if settings.AUTH_SSL:
    urlpatterns += patterns('',
        url(r'^sslauth/$',
            'authentic2.auth2_auth.auth2_ssl.login_ssl.handle_request',
            name='user_signin_ssl'),
        url(r'^sslauth/post_account_linking$',
            'authentic2.auth2_auth.auth2_ssl.login_ssl.post_account_linking'),
        url(r'^sslauth/delete_certificate$',
            'authentic2.auth2_auth.auth2_ssl.login_ssl.delete_certificate'),
        url(r'^sslauth/register/$',
            'authentic2.auth2_auth.auth2_ssl.views.register'),
        url(r'^error_ssl/$', 'authentic2.auth2_auth.views.error_ssl',
            name='error_ssl'),
    )
<commit_msg>remove old way to include registration urls<commit_after>from django.conf.urls.defaults import patterns, url, include
from django.conf import settings

urlpatterns = patterns('',
    (r'login/$', 'authentic2.auth2_auth.views.login'),
#    (r'password/change/$','authentic2.auth2_auth.views.password_change'),
)

if settings.AUTH_OPENID:
    urlpatterns += patterns('',
        (r'^accounts/openid/',
            include('authentic2.auth2_auth.auth2_openid.urls')),
    )

if settings.AUTH_SSL:
    urlpatterns += patterns('',
        url(r'^sslauth/$',
            'authentic2.auth2_auth.auth2_ssl.login_ssl.handle_request',
            name='user_signin_ssl'),
        url(r'^sslauth/post_account_linking$',
            'authentic2.auth2_auth.auth2_ssl.login_ssl.post_account_linking'),
        url(r'^sslauth/delete_certificate$',
            'authentic2.auth2_auth.auth2_ssl.login_ssl.delete_certificate'),
        url(r'^sslauth/register/$',
            'authentic2.auth2_auth.auth2_ssl.views.register'),
        url(r'^error_ssl/$', 'authentic2.auth2_auth.views.error_ssl',
            name='error_ssl'),
    )

{'fraction_non_alphanumeric': 0.14795008912655971, 'fraction_numerical': 0.01871657754010695, 'mean_word_length': 3.4192913385826773, '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': '6411716', 'n_tokens_mistral': 766, 'n_tokens_neox': 731, 'n_words': 82}