Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Django and Onsen?
-
Can you use Django and Onsen together? I would like to style a Django form using onsen. Anyone have code examples of using these two together?
-
I think you can include the necessary Onsen UI files (
onsenui.js
,onsenui.css
, andonsen-css-components.css
) as static files in your Django project. https://docs.djangoproject.com/en/2.2/howto/static-files/Then you should be able to use Onsen UI tags in your templates.
I don’t know much about Django and I haven’t actually tried this so this is just a starting point.
Please let us know how you get on!