<commit_before>from django.conf.urls import patterns, url, include
from cbh_chembl_ws_extension import api as webservices
from cbh_chembl_ws_extension import Login, Logout
from chembl_webservices import __version__ as ws_version
from chembl_webservices import api_name
from chembl_core_db.utils import DirectTemplateView
from django.conf import settings
from flowjs import urls as flow
from django.contrib import admin

admin.autodiscover()


urlpatterns = patterns('',
    url(r'^%s/' % api_name ,Login.as_view(), name="login1"),
    url(r'^%s' % api_name ,Login.as_view(), name="login2"),

    url(r'^%s/login' % api_name ,Login.as_view(), name="login"),
    url(r'^%s/logout' % api_name ,Logout.as_view(), name="logout"),
    url(r'^%s/flow/' % api_name, include(flow)), #adding this to allow configured upload URL within django-flowjs
    url(r'^%s/admin/' % api_name, include(admin.site.urls)),
	url(r'^grappelli/', include('grappelli.urls')),
)
urlpatterns += webservices.urls


if "django_webauth" in settings.INSTALLED_APPS:
    urlpatterns += patterns('',
                            url(r'^%s/webauth/' % api_name, include('django_webauth.urls', 'webauth')),
                            )<commit_msg>stuff<commit_after>from django.conf.urls import patterns, url, include
from cbh_chembl_ws_extension import api as webservices
from cbh_chembl_ws_extension import Login, Logout
from chembl_webservices import __version__ as ws_version
from chembl_webservices import api_name
from chembl_core_db.utils import DirectTemplateView
from django.conf import settings
from flowjs import urls as flow
from django.contrib import admin

admin.autodiscover()


urlpatterns = patterns('',
    url(r'^%s/' % api_name ,Login.as_view(), name="login1"),
    url(r'^%s/login' % api_name ,Login.as_view(), name="login"),
    url(r'^%s/logout' % api_name ,Logout.as_view(), name="logout"),
    url(r'^%s/flow/' % api_name, include(flow)), #adding this to allow configured upload URL within django-flowjs
    url(r'^%s/admin/' % api_name, include(admin.site.urls)),
	url(r'^grappelli/', include('grappelli.urls')),
)
urlpatterns += webservices.urls


if "django_webauth" in settings.INSTALLED_APPS:
    urlpatterns += patterns('',
                            url(r'^%s/webauth/' % api_name, include('django_webauth.urls', 'webauth')),
                            )
{'fraction_non_alphanumeric': 0.13185878349638452, 'fraction_numerical': 0.0012760527435133986, 'mean_word_length': 4.419354838709677, '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': '7367526', 'n_tokens_mistral': 779, 'n_tokens_neox': 758, 'n_words': 182}