change the path.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 1 Jul 2014 07:01:51 +0000 (16:01 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 1 Jul 2014 07:01:51 +0000 (16:01 +0900)
fsij/files/views.py

index 9c77fbd..bc01f7b 100644 (file)
@@ -4,4 +4,4 @@ from django.contrib.auth.decorators import login_required, user_passes_test
 
 @user_passes_test(lambda u: u.has_perm('files.can_access_files'), LOGIN_URL)
 def file_access(request,path):
-    return serve(request, path, document_root='/home/fsij/django/files/', show_indexes=True)
+    return serve(request, path, document_root='/home/www/members-data/files/', show_indexes=True)