This commit is contained in:
Eugene Pankov
2021-07-25 16:36:45 +02:00
parent 6a78032849
commit c8ee6832f3
57 changed files with 53 additions and 1003 deletions

View File

@@ -8,7 +8,7 @@ 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}<path:path>', serve, kwargs={
path(f'{settings.STATIC_URL.strip("/")}/<path:path>', serve, kwargs={
'document_root': settings.STATIC_ROOT,
}),
]