Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to set the format in the decorator
Geckoboard has deprecated the parameter passing (although it can still be enabled). This change allows you to set the response format like this: ```python @NumberWidget(format='json') def my_view_fun(): ... ```
- Loading branch information
1 parent
81ab99f
commit 2763a71
Showing
2 changed files
with
46 additions
and
8 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
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