Tip - Using multiple web2py templates

50 views
Skip to first unread message

Rodrigo Attique

unread,
Jun 1, 2020, 5:44:16 PM6/1/20
to web2py-users
After a lot of brainstorming I found a way to allow web2py to use multiple templates. Perhaps for the elderly it is not a novelty, but for the youngest ... This will be a hand in the wheel.

Link:

AGRogers

unread,
Jun 7, 2020, 9:11:50 PM6/7/20
to web...@googlegroups.com
Thanks for sharing this. I might need it soon. 

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/6bc7a9fe-43f6-4c9b-8950-8952a0611b8c%40googlegroups.com.

Joe Barnhart

unread,
Aug 12, 2020, 12:18:33 PM8/12/20
to web2py-users
Doesn't this have an unfortunate negative effect on "compiled" views?  To be compiled, everything about the view needs to be known ahead of time and your dynamic use of templates seems to defeat that.  I suspect when you choose to "compile" the application from the web2py admin interface, these views will remain interpreted, defeating the purpose of compiling the app.

But I could be wrong.
Reply all
Reply to author
Forward
0 new messages