소스 검색

HUE-1690 [core] Forceful Browsing / Directory Listing

Abraham Elmahrek 12 년 전
부모
커밋
e08494788e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/src/desktop/urls.py

+ 1 - 1
desktop/core/src/desktop/urls.py

@@ -39,7 +39,7 @@ def static_pattern(urlprefix, root):
   directory to serve.
   directory to serve.
   """
   """
   return (r'^%s/(?P<path>.*)$' % urlprefix, 'django.views.static.serve',
   return (r'^%s/(?P<path>.*)$' % urlprefix, 'django.views.static.serve',
-   { 'document_root': root, 'show_indexes': True })
+   { 'document_root': root, 'show_indexes': False })
 
 
 
 
 admin.autodiscover()
 admin.autodiscover()