121
edits
(Created page with "= Overview = The BuildAPI is a Pylons project used by RelEng to surface information collected from two databases updated through our buildbot masters as they run jobs. = Project...") |
|||
Line 50: | Line 50: | ||
Views are created using Mako python templates. Create a template file under buildapi/templates for your new controller. | Views are created using Mako python templates. Create a template file under buildapi/templates for your new controller. | ||
To associate with a model, simply add | To associate with a model, simply add an import to your controller; for example: | ||
<pre> | <pre> | ||
from buildapi.model.<model_name> import <functions to import> | from buildapi.model.<model_name> import <functions to import> |
edits