QS 0.9.1 PORD
This commit is contained in:
parent
18b062be6b
commit
5efe4f7e7f
Binary file not shown.
|
|
@ -35,8 +35,8 @@ urlpatterns = [
|
|||
path('chat/', include('chat.urls'), name='chat'),
|
||||
path('api-token-auth/', obtain_auth_token, name='api-token-auth'),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
if settings.DEBUG:
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
#if settings.DEBUG:
|
||||
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
# ERROR HANDLERS
|
||||
handler404 = 'users.views.handler404'
|
||||
|
|
|
|||
Loading…
Reference in New Issue