Allow the use of -1 as minor version to indicate pre-release

This commit is contained in:
Magnus Hagander
2012-05-14 17:05:14 -04:00
parent c2d330939f
commit de108bfa7c

View File

@ -76,7 +76,7 @@ def community(request):
# List of supported versions
def versions(request):
return render_to_response('support/versioning.html', {
'versions': Version.objects.filter(tree__gt=0),
'versions': Version.objects.filter(tree__gt=0).filter(latestminor__gte=0),
}, NavContext(request, 'support'))
re_staticfilenames = re.compile("^[0-9A-Z/_-]+$", re.IGNORECASE)