blob: b656ab0e09bfe53b4322d85fb4b704f65ea0dfb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()
|