fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use internal JSON.
[redakcja.git]
/
apps
/
explorer
/
views.py
diff --git
a/apps/explorer/views.py
b/apps/explorer/views.py
index
19cc10b
..
18f79b3
100644
(file)
--- a/
apps/explorer/views.py
+++ b/
apps/explorer/views.py
@@
-46,7
+46,7
@@
def ajax_login_required(view):
def file_list(request, repo):
#
latest_default = repo.get_branch_tip('default')
def file_list(request, repo):
#
latest_default = repo.get_branch_tip('default')
- files =
list( repo.repo[latest_default] )
+ files =
[ f for f in repo.repo[latest_default] if not f.startswith('.')]
bookform = forms.BookUploadForm()
return direct_to_template(request, 'explorer/file_list.html', extra_context={
bookform = forms.BookUploadForm()
return direct_to_template(request, 'explorer/file_list.html', extra_context={