Permalink
Browse files

Oops, we're not supposed to include supported versions in the archive

  • Loading branch information...
mhagander committed Aug 17, 2013
1 parent d4fd69a commit bc020e460f648c66b3ac6c316f39a629f01ea775
Showing with 1 addition and 1 deletion.
  1. +1 −1 pgweb/docs/views.py
View
@@ -106,7 +106,7 @@ def manuals(request):
}, NavContext(request, 'docs'))
def manualarchive(request):
- versions = Version.objects.filter(beta=False,tree__gt=0).order_by('-tree')
+ versions = Version.objects.filter(beta=False,supported=False,tree__gt=0).order_by('-tree')
return render_to_response('docs/archive.html', {
'versions': [_VersionPdfWrapper(v) for v in versions],
}, NavContext(request, 'docs'))

0 comments on commit bc020e4

Please sign in to comment.