<commit_before>"""emstrack URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url, include
from django.contrib import admin
from django.views.generic import RedirectView
from rest_framework import routers

from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='Pastebin API')

router = routers.DefaultRouter()

urlpatterns = [
    #url(r'^', include('drf_autodocs.urls')),
    url(r'^docs/', schema_view),
    url(r'^ambulances/', include('ambulances.urls')),
    url(r'^auth/', include('login.urls')),
    url(r'^admin/', admin.site.urls),
    url(r'^$', RedirectView.as_view(url='http://cruzroja.ucsd.edu/wiki')),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
]

urlpatterns += router.urls<commit_msg>Moved Profile and Permissions to login<commit_after>"""emstrack URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url, include
from django.contrib import admin
from django.views.generic import RedirectView
from rest_framework import routers

from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='Pastebin API')

from login.viewsets import ProfileViewSet

router = routers.DefaultRouter()

router.register(r'user',
                ProfileViewSet)

urlpatterns = [
    #url(r'^', include('drf_autodocs.urls')),
    # Router API urls
    url(r'^api/', include(router.urls)),
    url(r'^docs/', schema_view),
    url(r'^ambulances/', include('ambulances.urls')),
    url(r'^auth/', include('login.urls')),
    url(r'^admin/', admin.site.urls),
    url(r'^$', RedirectView.as_view(url='http://cruzroja.ucsd.edu/wiki')),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
]
{'fraction_non_alphanumeric': 0.14203194019707782, 'fraction_numerical': 0.0061162079510703364, 'mean_word_length': 4.523452157598499, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4354227', 'n_tokens_mistral': 1005, 'n_tokens_neox': 986, 'n_words': 253}