<commit_before>from django.conf.urls.defaults import *

from django.contrib import admin
from django.conf import settings
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^accounts/', include('registration.backends.default.urls')),
    url(r'^dashboard/', include('projects.urls.private')),
    url(r'^projects/(?P<username>\w+)/(?P<project_slug>[-\w]+)/(?P<filename>.*)$',
        'core.views.serve_docs',
        name='projects_detail'
    ),
    url(r'render_header/',
        'core.views.render_header',
        name='render_header'
    ),
    url(r'^projects/', include('projects.urls.public')),
    (r'^admin/', include(admin.site.urls)),
    (r'^github', 'core.views.github_build'),
)

if settings.DEBUG:
    urlpatterns += patterns('',
        url(
            regex  = '^%s/(?P<path>.*)$' % settings.MEDIA_URL.strip('/'),
            view   = 'django.views.static.serve',
            kwargs = {'document_root': settings.MEDIA_ROOT},<commit_msg>Added the project list as the root url bc it was makin me angry<commit_after>from django.conf.urls.defaults import *

from django.contrib import admin
from django.conf import settings
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^accounts/', include('registration.backends.default.urls')),
    url(r'^dashboard/', include('projects.urls.private')),
    url(r'^projects/(?P<username>\w+)/(?P<project_slug>[-\w]+)/(?P<filename>.*)$',
        'core.views.serve_docs',
        name='projects_detail'
    ),
    url(r'render_header/',
        'core.views.render_header',
        name='render_header'
    ),

    url(r'^$', 'projects.views.public.project_index'),
    url(r'^projects/', include('projects.urls.public')),
    (r'^admin/', include(admin.site.urls)),
    (r'^github', 'core.views.github_build'),
)

if settings.DEBUG:
    urlpatterns += patterns('',
        url(
            regex  = '^%s/(?P<path>.*)$' % settings.MEDIA_URL.strip('/'),
            view   = 'django.views.static.serve',
            kwargs = {'document_root': settings.MEDIA_ROOT},
{'fraction_non_alphanumeric': 0.19242125984251968, 'fraction_numerical': 0.0, 'mean_word_length': 3.438864628820961, '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': '3880684', 'n_tokens_mistral': 679, 'n_tokens_neox': 667, 'n_words': 100}