import tw2.core as twc
from moksha.api.widgets import Grid

class BuildsGrid(Grid):
    template='mako:fedoracommunity.widgets.package.templates.builds_table_widget'
    resource='koji'
    resource_path='query_builds'

    def prepare(self):
        self.filters = {'package': self.package_name}
        self.rows_per_page = 10

        # Must do this last for our Grids
        super(BuildsGrid, self).prepare()


class Builds(twc.Widget):
    template = 'mako:fedoracommunity/widgets/package/templates/builds.mak'
    in_progress_builds = BuildsGrid

@@ -475,25 +475,25 @@
 nity
-/
+.
 widgets
-/
+.
 package
-/
+.
 temp
@@ -501,19 +501,15 @@
 ates
-/
+.
 builds
-.mak
 '%0A  

use dot format for referencing mako templates