mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-18 23:36:05 +01:00
wip
This commit is contained in:
14
backend/tabby/urls.py
Normal file
14
backend/tabby/urls.py
Normal file
@@ -0,0 +1,14 @@
|
||||
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,
|
||||
}),
|
||||
]
|
||||
Reference in New Issue
Block a user