<commit_before># -*- coding: utf-8 -*-

from django.conf.urls.defaults import *
from django.views.generic.base import RedirectView
from django.conf import settings
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

#from dajaxice.core import dajaxice_autodiscover
#dajaxice_autodiscover()

admin.autodiscover()

#js_info_dict = {'packages': ('django.conf',),}

urlpatterns = patterns('',
    (r'^admin/', include(admin.site.urls)),
    (r'^i18n/', include('django.conf.urls.i18n')),
    (r'^accounts/login/$', 'django.contrib.auth.views.login'),
   #(r'^jsi18n$', 'django.views.i18n.javascript_catalog', js_info_dict),
   #(r'^grappelli/', include('grappelli.urls')),
   #(r'^dajaxice/', include('dajaxice.urls')),
   #url(r'^favicon.ico$', RedirectView.as_view(
   #url='%swebsite/img/favicon.ico' % settings.STATIC_URL)),
)

urlpatterns += staticfiles_urlpatterns()

if settings.DEV:
    urlpatterns += patterns('',
        (r'^%s(.*)$' % settings.MEDIA_URL[1:],
        'django.views.static.serve', {
            'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),)<commit_msg>Update urls.py<commit_after># -*- coding: utf-8 -*-

from django.conf.urls.defaults import *
from django.views.generic.base import RedirectView
from django.conf import settings
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

#from dajaxice.core import dajaxice_autodiscover
#dajaxice_autodiscover()

admin.autodiscover()

#js_info_dict = {'packages': ('django.conf',),}

urlpatterns = patterns('',
    (r'^admin/', include(admin.site.urls)),
    (r'^i18n/', include('django.conf.urls.i18n')),
    (r'^accounts/login/$', 'django.contrib.auth.views.login'),
   #(r'^jsi18n$', 'django.views.i18n.javascript_catalog', js_info_dict),
   #(r'^grappelli/', include('grappelli.urls')),
   #(r'^dajaxice/', include('dajaxice.urls')),
   #url(r'^favicon.ico$', RedirectView.as_view(
   #url='%swebsite/img/favicon.ico' % settings.STATIC_URL)),
   #url(r'^apple-touch-icon.png$', RedirectView.as_view(
   #    url='%swebsite/img/apple-touch-icon.png' % settings.STATIC_URL)),

)

urlpatterns += staticfiles_urlpatterns()

if settings.DEV:
    urlpatterns += patterns('',
        (r'^%s(.*)$' % settings.MEDIA_URL[1:],
        'django.views.static.serve', {
            'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),)
{'fraction_non_alphanumeric': 0.18385093167701863, 'fraction_numerical': 0.008281573498964804, 'mean_word_length': 4.878345498783455, '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': '6498529', 'n_tokens_mistral': 896, 'n_tokens_neox': 867, 'n_words': 130}