Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.3 kb
import json
from input import PRODUCT_USAGE
from search.forms import VERSION_CHOICES
def product_versions(request):
return {
'PROD_VERSIONS_JSON': json.dumps(dict(
[(p.short, [(v[0], unicode(v[1])) for v in
VERSION_CHOICES[p]]) for p in PRODUCT_USAGE]))
}
Jump to Line
Something went wrong with that request. Please try again.