<commit_before>from django.conf import settings
from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.flatpages import views
from django.views.generic.base import RedirectView, TemplateView

import contact.urls
import dataset.urls
from dataset.views import DatasetList, Index

urlpatterns = patterns('',
    url(r'^login/$', 'django.contrib.auth.views.login', name='login'),
    url(r'^logout/$', 'django.contrib.auth.views.logout', name='logout'),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^dataset/', include(dataset.urls)),
    url(r'^contact/', include('contact.urls')),
    url(r'^data-organization/', 
        RedirectView.as_view(url='http://bids.neuroimaging.io', permanent=True),
        name='data-organization'),
    url(r'^$', Index.as_view(), name='index'),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
    url(r'^subscribed/', TemplateView.as_view(template_name='subscribe_success.html')),
    url(r'^(?P<url>.*/)$', views.flatpage),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)<commit_msg>remove redirect on data-organization url to external bids site<commit_after>from django.conf import settings
from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.flatpages import views
from django.views.generic.base import RedirectView, TemplateView

import contact.urls
import dataset.urls
from dataset.views import DatasetList, Index

urlpatterns = patterns('',
    url(r'^login/$', 'django.contrib.auth.views.login', name='login'),
    url(r'^logout/$', 'django.contrib.auth.views.logout', name='logout'),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^dataset/', include(dataset.urls)),
    url(r'^contact/', include('contact.urls')),
    url(r'^$', Index.as_view(), name='index'),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
    url(r'^subscribed/', TemplateView.as_view(template_name='subscribe_success.html')),
    url(r'^(?P<url>.*/)$', views.flatpage),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
{'fraction_non_alphanumeric': 0.1674087266251113, 'fraction_numerical': 0.0, 'mean_word_length': 5.7074626865671645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1953294', 'n_tokens_mistral': 714, 'n_tokens_neox': 702, 'n_words': 135}