import os

from django.contrib import admin
from django.urls import path, include
from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static

from rest_framework import routers
from backend import views

from rest_framework import permissions
from drf_yasg.views import get_schema_view
from drf_yasg import openapi

router = routers.DefaultRouter()
router.register(r'employees', views.EmployeeViewSet)
router.register(r'projects', views.ProjectViewSet)


schema_view = get_schema_view(
   openapi.Info(
      title="Snippets API",
      default_version='v1',
      description="Test description",
      terms_of_service="https://www.google.com/policies/terms/",
      contact=openapi.Contact(email="contact@snippets.local"),
      license=openapi.License(name="BSD License"),
   ),
   public=True,
   permission_classes=(permissions.AllowAny,),
)

urlpatterns = [
  path('api/', include(router.urls)),
  path('api/createrandomcoffee/<int:pk>/', views.CreateRandomCoffee),
  path('api/deleterandomcoffee/<int:pk>/', views.DeleteRandomCoffee),


  path('admin/', admin.site.urls),
  path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
  url(r'^swagger(?P<format>\.json|\.yaml)$', schema_view.without_ui(cache_timeout=0), name='schema-json'),
  url(r'^swagger/$', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
  url(r'^redoc/$', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'),
] + static('photos', document_root=os.path.join(settings.BASE_DIR, '../photos'))

e3fa39bdaa6e739771d7de4564d4f86abaff5c98
<mask token>

<mask token>
router.register('employees', views.EmployeeViewSet)
router.register('projects', views.ProjectViewSet)
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('employees', views.EmployeeViewSet)
router.register('projects', views.ProjectViewSet)
schema_view = get_schema_view(openapi.Info(title='Snippets API',
    default_version='v1', description='Test description', terms_of_service=
    'https://www.google.com/policies/terms/', contact=openapi.Contact(email
    ='contact@snippets.local'), license=openapi.License(name='BSD License')
    ), public=True, permission_classes=(permissions.AllowAny,))
urlpatterns = [path('api/', include(router.urls)), path(
    'api/createrandomcoffee/<int:pk>/', views.CreateRandomCoffee), path(
    'api/deleterandomcoffee/<int:pk>/', views.DeleteRandomCoffee), path(
    'admin/', admin.site.urls), path('api-auth/', include(
    'rest_framework.urls', namespace='rest_framework')), url(
    '^swagger(?P<format>\\.json|\\.yaml)$', schema_view.without_ui(
    cache_timeout=0), name='schema-json'), url('^swagger/$', schema_view.
    with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'), url(
    '^redoc/$', schema_view.with_ui('redoc', cache_timeout=0), name=
    'schema-redoc')] + static('photos', document_root=os.path.join(settings
    .BASE_DIR, '../photos'))

import os
from django.contrib import admin
from django.urls import path, include
from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static
from rest_framework import routers
from backend import views
from rest_framework import permissions
from drf_yasg.views import get_schema_view
from drf_yasg import openapi
router = routers.DefaultRouter()
router.register('employees', views.EmployeeViewSet)
router.register('projects', views.ProjectViewSet)
schema_view = get_schema_view(openapi.Info(title='Snippets API',
    default_version='v1', description='Test description', terms_of_service=
    'https://www.google.com/policies/terms/', contact=openapi.Contact(email
    ='contact@snippets.local'), license=openapi.License(name='BSD License')
    ), public=True, permission_classes=(permissions.AllowAny,))
urlpatterns = [path('api/', include(router.urls)), path(
    'api/createrandomcoffee/<int:pk>/', views.CreateRandomCoffee), path(
    'api/deleterandomcoffee/<int:pk>/', views.DeleteRandomCoffee), path(
    'admin/', admin.site.urls), path('api-auth/', include(
    'rest_framework.urls', namespace='rest_framework')), url(
    '^swagger(?P<format>\\.json|\\.yaml)$', schema_view.without_ui(
    cache_timeout=0), name='schema-json'), url('^swagger/$', schema_view.
    with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'), url(
    '^redoc/$', schema_view.with_ui('redoc', cache_timeout=0), name=
    'schema-redoc')] + static('photos', document_root=os.path.join(settings
    .BASE_DIR, '../photos'))

import os

from django.contrib import admin
from django.urls import path, include
from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static

from rest_framework import routers
from backend import views

from rest_framework import permissions
from drf_yasg.views import get_schema_view
from drf_yasg import openapi

router = routers.DefaultRouter()
router.register(r'employees', views.EmployeeViewSet)
router.register(r'projects', views.ProjectViewSet)


schema_view = get_schema_view(
   openapi.Info(
      title="Snippets API",
      default_version='v1',
      description="Test description",
      terms_of_service="https://www.google.com/policies/terms/",
      contact=openapi.Contact(email="contact@snippets.local"),
      license=openapi.License(name="BSD License"),
   ),
   public=True,
   permission_classes=(permissions.AllowAny,),
)

urlpatterns = [
  path('api/', include(router.urls)),
  path('api/createrandomcoffee/<int:pk>/', views.CreateRandomCoffee),
  path('api/deleterandomcoffee/<int:pk>/', views.DeleteRandomCoffee),


  path('admin/', admin.site.urls),
  path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
  url(r'^swagger(?P<format>\.json|\.yaml)$', schema_view.without_ui(cache_timeout=0), name='schema-json'),
  url(r'^swagger/$', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
  url(r'^redoc/$', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'),
] + static('photos', document_root=os.path.join(settings.BASE_DIR, '../photos'))
