Skip to content

Commit

Permalink
add .pt files for indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomster committed Oct 21, 2009
1 parent 0d68567 commit 9cc9e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repoze/virginia/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def directory_view(context, request):
response = HTTPFound(location=path_info + '/')
return response

defaults = ('index.html', 'index.stx')
defaults = ('index.html', 'index.stx', 'index.pt')
for name in defaults:
try:
index = context[name]
Expand Down

0 comments on commit 9cc9e33

Please sign in to comment.