level12 / keg-app-cookiecutter

0 stars 0 forks source link

Use GridView from KegElements #137

Closed rsyring closed 3 years ago

rsyring commented 3 years ago

in libs/views.py replace the existing GridView with:

class GridView(keg_elements.views.GridView):
    template = 'includes/grid-view.html'

And write a test for the xlsx export functionality. Example: https://github.com/level12/rrs-ebsr-repo/blob/46993cf762d17807af073902c34f12f5f5190f50/rrs_ebsr_repo/components/rem/tests/test_functional.py#L143

rsyring commented 3 years ago

I didn't add the test b/c that would require a view to be created that uses it and we decided not to put demo code in the CC.