Mercurial > agora
diff apps/bundle/views.py @ 190:a4f88ac85837
Changes: Now guest users cannot see revision history and they also cannot see snippets posted by registered users. To see snippets posted by registered users, one has to login.
author | ahsanalishahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Thu, 20 Jun 2013 17:17:16 +0500 |
parents | cdcbfaa65cfe |
children | 2a234e11185c |
line wrap: on
line diff
--- a/apps/bundle/views.py Tue Jun 18 19:59:40 2013 +0500 +++ b/apps/bundle/views.py Thu Jun 20 17:17:16 2013 +0500 @@ -31,6 +31,7 @@ 'file': file, 'previous_versions': xrange(1, bundle.latest_version + 1), 'this_version': version, + 'show': True, } return render(request, 'bundle/bundle.djhtml', context)