wooey / Wooey

A Django app that creates automatic web UIs for Python scripts.
http://wooey.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.13k stars 184 forks source link

It's possible to use calendar widget? #245

Closed PheonixS closed 6 years ago

PheonixS commented 6 years ago

What I need to specify to use calendar widget in argparse? Thanks!

Chris7 commented 6 years ago

Argparse has no notion of a calendar widget. There is a pull request that attempts to enable custom widgets on the frontend here: https://github.com/wooey/Wooey/pull/175

The way it works would be you define a field in argparse that accepts a datetime string that the calendar input uses. I never tested the custom widgets enough to feel comfortable merging it in, but would love to get some more beta testers to change that.

Chris7 commented 6 years ago

This has been implemented in #175