fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Filtering books by status in admin.
[redakcja.git]
/
apps
/
fileupload
/
views.py
diff --git
a/apps/fileupload/views.py
b/apps/fileupload/views.py
index
8863465
..
d08bfd3
100644
(file)
--- a/
apps/fileupload/views.py
+++ b/
apps/fileupload/views.py
@@
-99,7
+99,7
@@
class UploadView(FormView):
files = []
path = self.get_safe_path()
if os.path.isdir(path):
- for f in
os.listdir(path
):
+ for f in
sorted(os.listdir(path)
):
file_info = {
"name": f,
}