<commit_before>from django.conf.urls import patterns, include, url
from django.contrib import admin
from mysite.views import Index

from django.conf import settings
from django.conf.urls.static import static

admin.autodiscover()  ##according to the django tut (1.8) this shouldnt be here? idk

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'mysite.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),
    url(r'^$', Index.as_view(), name='index'),
                       url(r'^posts/', include('posts.urls', namespace="posts")),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^accounts/', include('allauth.urls')),

)


if settings.DEBUG:
    urlpatterns.append(url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}))

<commit_msg>reverted the authentication merge<commit_after>from django.conf.urls import patterns, include, url
from django.contrib import admin
from mysite.views import Index

from django.conf import settings
from django.conf.urls.static import static

admin.autodiscover()  ##according to the django tut (1.8) this shouldnt be here? idk

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'mysite.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),
    url(r'^$', Index.as_view(), name='index'),
                       url(r'^posts/', include('posts.urls', namespace="posts")),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^accounts/', include('allauth.urls')),

)


if settings.DEBUG:
    urlpatterns.append(url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}))
    

{'fraction_non_alphanumeric': 0.18072289156626506, 'fraction_numerical': 0.0024096385542168677, 'mean_word_length': 4.323717948717949, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5581134', 'n_tokens_mistral': 552, 'n_tokens_neox': 541, 'n_words': 119}