Selaa lähdekoodia

HUE-7539 [fb] Avoid error on directory creation from choose a file modal

Romain Rigaux 8 vuotta sitten
vanhempi
commit
b9d5240
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      apps/filebrowser/src/filebrowser/views.py

+ 1 - 1
apps/filebrowser/src/filebrowser/views.py

@@ -37,7 +37,7 @@ from django.contrib.auth.models import User, Group
 from django.core.paginator import EmptyPage
 from django.core.paginator import EmptyPage
 from django.core.urlresolvers import reverse
 from django.core.urlresolvers import reverse
 from django.template.defaultfilters import stringformat, filesizeformat
 from django.template.defaultfilters import stringformat, filesizeformat
-from django.http import Http404, StreamingHttpResponse, HttpResponseNotModified, HttpResponseForbidden
+from django.http import Http404, StreamingHttpResponse, HttpResponseNotModified, HttpResponseForbidden, HttpResponse
 from django.views.decorators.http import require_http_methods
 from django.views.decorators.http import require_http_methods
 from django.views.static import was_modified_since
 from django.views.static import was_modified_since
 from django.shortcuts import redirect
 from django.shortcuts import redirect