Browse Source

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

Romain Rigaux 8 years ago
parent
commit
b9d5240a16
1 changed files with 1 additions and 1 deletions
  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