• 1012 views
  • 0 comments
  • loading...

Views - Part of MVC architecture

Display data in structured way created by controllers









<html>

<
body>
{{
include}}
<div class="sidebar">
{{if 'mysidebar' in globals():}}{{mysidebar()}}{{else:}}
my default sidebar
{{pass}}
</div>
</body>
</html>

web2py Module List


loading...


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)