diff options
Diffstat (limited to 'bak/unused_apps/figments/build.py')
-rw-r--r-- | bak/unused_apps/figments/build.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bak/unused_apps/figments/build.py b/bak/unused_apps/figments/build.py new file mode 100644 index 0000000..b656ab0 --- /dev/null +++ b/bak/unused_apps/figments/build.py @@ -0,0 +1,17 @@ +from django.urls import reverse +from builder.base import BuildNew + + +class BuildFigments(BuildNew): + def build(self): + self.build_list_view( + base_path=reverse('figments:list'), + paginate_by=99999 + ) + self.build_detail_view() + self.build_feed('figments:feed') + + +def builder(): + j = BuildFigments("figments", "figment") + j.build() |