diff --git a/agate/core/urls.py b/agate/core/urls.py index 967d4d0..5fd3c19 100644 --- a/agate/core/urls.py +++ b/agate/core/urls.py @@ -10,3 +10,6 @@ path("admin/", admin.site.urls), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + +handler400 = 'rest_framework.exceptions.bad_request' +handler500 = 'rest_framework.exceptions.server_error'