<commit_before>import os

from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.conf import settings
from django.contrib import admin

# from wagtail.wagtailadmin import urls as wagtailadmin_urls
# from wagtail.wagtailsearch import urls as wagtailsearch_urls
# from wagtail.wagtaildocs import urls as wagtaildocs_urls
# from wagtail.wagtailcore import urls as wagtail_urls


urlpatterns = patterns(
    '',
    url(r'^admin/', include(admin.site.urls)),

    # url(r'^admin/', include(wagtailadmin_urls)),
    # url(r'^search/', include(wagtailsearch_urls)),
    # url(r'^documents/', include(wagtaildocs_urls)),
    #
    #
    #
    # url(r'', include('molo.core.urls')),
    # url(r'', include(wagtail_urls)),
)


if settings.DEBUG:
    from django.contrib.staticfiles.urls import staticfiles_urlpatterns

    urlpatterns += staticfiles_urlpatterns()
    urlpatterns += static(
        settings.MEDIA_URL + 'images/',
        document_root=os.path.join(settings.MEDIA_ROOT, 'images'))<commit_msg>enable urls for wagtail to allow compress to run<commit_after>import os

from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.conf import settings
from django.contrib import admin

from wagtail.wagtailadmin import urls as wagtailadmin_urls
from wagtail.wagtailsearch import urls as wagtailsearch_urls
from wagtail.wagtaildocs import urls as wagtaildocs_urls
from wagtail.wagtailcore import urls as wagtail_urls


urlpatterns = patterns(
    '',
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin/', include(wagtailadmin_urls)),
    url(r'^search/', include(wagtailsearch_urls)),
    url(r'^documents/', include(wagtaildocs_urls)),
    url(r'', include('molo.core.urls')),
    url(r'', include(wagtail_urls)),
)


if settings.DEBUG:
    from django.contrib.staticfiles.urls import staticfiles_urlpatterns

    urlpatterns += staticfiles_urlpatterns()
    urlpatterns += static(
        settings.MEDIA_URL + 'images/',
        document_root=os.path.join(settings.MEDIA_ROOT, 'images'))
{'fraction_non_alphanumeric': 0.11227402473834443, 'fraction_numerical': 0.0, 'mean_word_length': 4.683783783783784, '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': '5728355', 'n_tokens_mistral': 699, 'n_tokens_neox': 709, 'n_words': 151}