Closed emanuil-tolev closed 12 years ago
The following is taken from an idea I had in web.py.browse, so if anybody decides referencing ['_source'] all the time is not nice enough :). You will need to do this for descriptions as well as tests.
# as it stands, the template will have to reference every test's data by test['_source']
# if you want to make its code more readable, you could unpack the _source dictionary
for test in tests:
for key, value in test['_source'].items():
test[key] = value
# + modify browse.html by removing all references to ['_source'], but it's just meaningless work for almost no benefit
need to make the shiny Browse button on the homepage work
/browse needs to have a routing rule in web.py to start with