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

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

import settings
urlpatterns = patterns('',
    # Examples:
    url(r'^$', 'djangodash.views.home', name='home'),
    url(r'^login$', 'djangodash.views.login', name='login'),
    url(r'^register$', 'djangodash.views.register', name='register'),
    url(r'^logout$', 'djangodash.views.logout', name='logout'),

    # Add a comment
    url(r'^add_comment$', 'djangodash.views.add_comment', name='add_comment'),

    # Thread page
	url(r'^thread/(?P<thread_id>.*)$', 'djangodash.views.thread', name='thread'),

	# Sort threads (form the home page)
	# url(r'^sort_threads$', 'djangodash.views.sort_threads', name='sort_threads'),

	# Delete
	url(r'^delete$', 'djangodash.views.delete', name='delete'),

    # Profile page
	url(r'^user/(?P<username>.*)$', 'djangodash.views.user_profile', name='user'),


	# Ajax urls
    url(r'^ajax/vote', 'djangodash.views.vote', name="vote"),

    # url(r'^djangodash/', include('djangodash.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),

    # Serve static files
    (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),

)<commit_msg>Removing unused path in urls.py<commit_after>from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

import settings
urlpatterns = patterns('',
    # Examples:
    url(r'^$', 'djangodash.views.home', name='home'),
    url(r'^login$', 'djangodash.views.login', name='login'),
    url(r'^register$', 'djangodash.views.register', name='register'),
    url(r'^logout$', 'djangodash.views.logout', name='logout'),

    # Add a comment
    url(r'^add_comment$', 'djangodash.views.add_comment', name='add_comment'),

    # Thread page
	url(r'^thread/(?P<thread_id>.*)$', 'djangodash.views.thread', name='thread'),

	# Delete
	url(r'^delete$', 'djangodash.views.delete', name='delete'),

    # Profile page
	url(r'^user/(?P<username>.*)$', 'djangodash.views.user_profile', name='user'),


	# Ajax urls
    url(r'^ajax/vote', 'djangodash.views.vote', name="vote"),

    # url(r'^djangodash/', include('djangodash.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),

    # Serve static files
    (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),

)
{'fraction_non_alphanumeric': 0.1905588337382853, 'fraction_numerical': 0.0, 'mean_word_length': 4.834008097165992, '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': '5959328', 'n_tokens_mistral': 1061, 'n_tokens_neox': 988, 'n_words': 197}