-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glamr/views: de-activate export links if there is no data available
* run exits() on the export queryset * this commit re-factors some of the ExportMixin method call chain - dispatch() may fork into new get_export() - download_requested() got re-named into check_export_requested() - new method get_export_queryset() - new method get_export_table() - get_values() reduced to a single line - new get_export_href_data(), was formely _get_export_ctx(), link activity status is determined here Closed #46
- Loading branch information
Showing
1 changed file
with
89 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters