Closed rsyring closed 3 years ago
in libs/views.py replace the existing GridView with:
libs/views.py
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
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.
in
libs/views.py
replace the existing GridView with: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