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

from django.contrib.sitemaps import views
from mezzanine.core.sitemaps import DisplayableSitemap

from .sitemaps import PagesSitemap

sitemaps = {
    "resources": DisplayableSitemap,
    "pages": PagesSitemap
}
sitemap_view = 'django.contrib.sitemaps.views.sitemap'


urlpatterns = patterns('',
    url(r'^\.xml$', views.index, {'sitemaps': sitemaps}),
    url(r'^-(?P<section>.+)\.xml$', views.sitemap, {'sitemaps': sitemaps}, name=sitemap_view),
)<commit_msg>Fixing URLs.py<commit_after>from django.conf.urls import url, patterns

from django.contrib.sitemaps import views
from mezzanine.core.sitemaps import DisplayableSitemap

from .sitemaps import PagesSitemap

sitemaps = {
    "resources": DisplayableSitemap,
    "pages": PagesSitemap
}
sitemap_view = 'django.contrib.sitemaps.views.sitemap'


urlpatterns = patterns(
    '',
    url(r'^\.xml$', views.index, {'sitemaps': sitemaps}),
    url(r'^-(?P<section>.+)\.xml$', views.sitemap, {'sitemaps': sitemaps}, name=sitemap_view),
)
{'fraction_non_alphanumeric': 0.14980916030534353, 'fraction_numerical': 0.0, 'mean_word_length': 5.244047619047619, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6093916', 'n_tokens_mistral': 390, 'n_tokens_neox': 379, 'n_words': 71}