<commit_before>from django.contrib import admin
from django.conf.urls.defaults import url, patterns, include
from rest_framework import routers
from users.views import UserDetailView
from orgs.views import OrganizationListView

admin.autodiscover()


# Routers provide an easy way of automatically determining the URL conf
router = routers.DefaultRouter()
urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'ocl.views.home', name='home'),
    # url(r'^ocl/', include('ocl.foo.urls')),
    url(r'^', include(router.urls)),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
    url(r'^api-token-auth/$', 'rest_framework.authtoken.views.obtain_auth_token'),
    url(r'^orgs/', include('ocl.orgs.urls')),
    url(r'^users/', include('ocl.users.urls')),
    # These views pertain to the logged-in user
    url(r'^user/$', UserDetailView.as_view(), {'user_is_self': True}, name='userprofile-self-detail'),
    url(r'^user/orgs/$', OrganizationListView.as_view(), {'user_is_self': True}, name='userprofile-organization-list'),
)<commit_msg>Fixed the path to the urlconfigs<commit_after>from django.contrib import admin
from django.conf.urls.defaults import url, patterns, include
from rest_framework import routers
from users.views import UserDetailView
from orgs.views import OrganizationListView

admin.autodiscover()


# Routers provide an easy way of automatically determining the URL conf
router = routers.DefaultRouter()
urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'ocl.views.home', name='home'),
    # url(r'^ocl/', include('ocl.foo.urls')),
    url(r'^', include(router.urls)),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
    url(r'^api-token-auth/$', 'rest_framework.authtoken.views.obtain_auth_token'),
    url(r'^orgs/', include('orgs.urls')),
    url(r'^users/', include('users.urls')),
    # These views pertain to the logged-in user
    url(r'^user/$', UserDetailView.as_view(), {'user_is_self': True}, name='userprofile-self-detail'),
    url(r'^user/orgs/$', OrganizationListView.as_view(), {'user_is_self': True}, name='userprofile-organization-list'),
)
{'fraction_non_alphanumeric': 0.16257088846880907, 'fraction_numerical': 0.0, 'mean_word_length': 5.068807339449541, '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': '4300253', 'n_tokens_mistral': 860, 'n_tokens_neox': 828, 'n_words': 191}