1
0
mirror of https://github.com/Eugeny/tabby-web.git synced 2025-07-25 20:28:35 +00:00
Files
tabby-web/backend/tabby/urls.py
Eugene Pankov 83c5e11a61 wip
2021-07-25 20:45:15 +02:00

15 lines
503 B
Python

from django.conf import settings
from django.contrib import admin
from django.urls import path, include
from django.views.static import serve
from .app.urls import urlpatterns as app_urlpatterns
urlpatterns = [
path('', include(app_urlpatterns)),
path('api/1/auth/social/', include('social_django.urls', namespace='social')),
path('admin/', admin.site.urls),
path(f'{settings.STATIC_URL.strip("/")}/<path:path>', serve, kwargs={
'document_root': settings.STATIC_ROOT,
}),
]