<commit_before>from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.conf import settings
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.shortcuts import render_to_response
from django.template.context import RequestContext

from bluebottle.auth.views import GetAuthToken


urlpatterns = patterns('',
                       # The api urls are in the / url namespace so that
                       # they're not redirected to /en/.
                       url(r'^docs/', include('rest_framework_swagger.urls')),

                       url(r'^api/config',
                           include('bluebottle.clients.urls.api')),

                       url(r'^api/users/',
                           include('bluebottle.bb_accounts.urls.api')),
                       url(r'^api/bb_organizations/',
                           include('bluebottle.bb_organizations.urls.api')),
                       url(r'^api/bb_projects/',
                           include('bluebottle.bb_projects.urls.api')),
                       url(r'^api/fundraisers/',
                           include('bluebottle.bb_fundraisers.urls.api')),
                       url(r'^api/bb_tasks/',
                           include('bluebottle.bb_tasks.urls.api')),
                       url(r'^api/geo/', include('bluebottle.geo.urls.api')),
                       url(r'^api/contact/',
                           include('bluebottle.contact.urls.api')),
                       url(r'^api/news/', include('bluebottle.news.urls.api')),
                       url(r'^api/pages/',<commit_msg>Add url for redirects API<commit_after>from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.conf import settings
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.shortcuts import render_to_response
from django.template.context import RequestContext

from bluebottle.auth.views import GetAuthToken


urlpatterns = patterns('',
                       # The api urls are in the / url namespace so that
                       # they're not redirected to /en/.
                       url(r'^docs/', include('rest_framework_swagger.urls')),

                       url(r'^api/config',
                           include('bluebottle.clients.urls.api')),
                       url(r'^api/redirects',
                           include('bluebottle.redirects.urls.api')),
                       url(r'^api/users/',
                           include('bluebottle.bb_accounts.urls.api')),
                       url(r'^api/bb_organizations/',
                           include('bluebottle.bb_organizations.urls.api')),
                       url(r'^api/bb_projects/',
                           include('bluebottle.bb_projects.urls.api')),
                       url(r'^api/fundraisers/',
                           include('bluebottle.bb_fundraisers.urls.api')),
                       url(r'^api/bb_tasks/',
                           include('bluebottle.bb_tasks.urls.api')),
                       url(r'^api/geo/', include('bluebottle.geo.urls.api')),
                       url(r'^api/contact/',
                           include('bluebottle.contact.urls.api')),
                       url(r'^api/news/', include('bluebottle.news.urls.api')),
                       url(r'^api/pages/',
{'fraction_non_alphanumeric': 0.11828588200763135, 'fraction_numerical': 0.0, 'mean_word_length': 1.5818181818181818, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1743332', 'n_tokens_mistral': 952, 'n_tokens_neox': 917, 'n_words': 141}