<commit_before>from django.conf import settings
from django.conf.urls import include, url
# from django.contrib import admin
from django.conf.urls.static import static


from . import views


urlpatterns = [
    ### API ###
    url(r'^$', views.root),
    url(r'^nodes/', include('api.nodes.urls', namespace='nodes')),
    url(r'^users/', include('api.users.urls', namespace='users')),
    url(r'^docs/', include('rest_framework_swagger.urls')),
] + static('/static/', document_root=settings.STATIC_ROOT)<commit_msg>Change API url prefix to 'v2'<commit_after>from django.conf import settings
from django.conf.urls import include, url, patterns
# from django.contrib import admin
from django.conf.urls.static import static


from . import views


urlpatterns = [
    ### API ###
    url(r'^v2/', include(patterns('',
        url(r'^$', views.root),
        url(r'^nodes/', include('api.nodes.urls', namespace='nodes')),
        url(r'^users/', include('api.users.urls', namespace='users')),
        url(r'^docs/', include('rest_framework_swagger.urls')),
    )))] + static('/static/', document_root=settings.STATIC_ROOT)
{'fraction_non_alphanumeric': 0.17605004468275245, 'fraction_numerical': 0.0017873100983020554, 'mean_word_length': 4.490196078431373, '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': '6563916', 'n_tokens_mistral': 358, 'n_tokens_neox': 352, 'n_words': 75}