mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-06-09 05:59:53 +00:00
15 lines
503 B
Python
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,
|
|
}),
|
|
]
|