Created
December 16, 2015 02:21
-
-
Save amix/48afac3fa6070128fe24 to your computer and use it in GitHub Desktop.
Generating the HTML form for querying bitmapist
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
from bitmapist import cohort | |
html_form = cohort.render_html_form( | |
action_url='/_Cohort', | |
selections1=[ ('Are Active', 'user:active'), ], | |
selections2=[ ('Task completed', 'task:complete'), ] | |
) | |
print html_form |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment