This commit is contained in:
Eugene Pankov
2021-07-25 14:38:14 +02:00
parent e11193b807
commit cabbc17581
12 changed files with 74 additions and 53 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}<path:path>', serve, kwargs={
'document_root': settings.STATIC_ROOT,
}),
]