Explorar o código

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

Romain Rigaux %!s(int64=8) %!d(string=hai) anos
pai
achega
b9d5240a16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.urlresolvers import reverse
 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.static import was_modified_since
 from django.shortcuts import redirect