From 4663fdf64411c8ff96cf094949d439404418aed8 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Wed, 9 Jan 2019 07:37:15 +0100 Subject: [PATCH] typo in docstring --- scipost/views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scipost/views.py b/scipost/views.py index 21cf9f70b..efdec24ed 100644 --- a/scipost/views.py +++ b/scipost/views.py @@ -130,10 +130,11 @@ def index(request): def protected_serve(request, path, show_indexes=False): - """Serve media files from outside the public MEDIA_ROOT folder. + """ + Serve media files from outside the public MEDIA_ROOT folder. Serve files that are saved outside the default MEDIA_ROOT folder for superusers only! - This will be usefull eg. in the admin pages. + This will be useful eg. in the admin pages. """ if not request.user.is_authenticated or not request.user.is_superuser: # Only superusers may get to see secure files without an explicit serve method! -- GitLab