Mercurial > agora-palash
comparison 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 |
comparison
equal
deleted
inserted
replaced
189:683d41e124b7 | 190:a4f88ac85837 |
---|---|
29 'bundle': bundle, | 29 'bundle': bundle, |
30 'files': files, | 30 'files': files, |
31 'file': file, | 31 'file': file, |
32 'previous_versions': xrange(1, bundle.latest_version + 1), | 32 'previous_versions': xrange(1, bundle.latest_version + 1), |
33 'this_version': version, | 33 'this_version': version, |
34 'show': True, | |
34 } | 35 } |
35 | 36 |
36 return render(request, 'bundle/bundle.djhtml', context) | 37 return render(request, 'bundle/bundle.djhtml', context) |
37 | 38 |
38 | 39 |