from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.urls import path, include
from rest_framework.documentation import include_docs_urls

urlpatterns = [
    path(r'', include('apps.ping.urls')),
    path(r'', include('apps.cameras.urls')),
    path(r'', include('apps.tags.urls')),
    path(r'', include('apps.videoframes.urls')),

    path('admin/', admin.site.urls),
    path(r'api-auth/', include('rest_framework.urls', namespace='rest_framework')),
    path(r'', include_docs_urls(title='Active'))
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
