summaryrefslogtreecommitdiff
path: root/app/tutorials/build.py
blob: 42565954b9ba474cf367b2778b69077d3a0730c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from builder.base import BuildNew
from django.urls import reverse


class BuildTutorals(BuildNew):

    def build(self):
        self.build_list_view(
            base_path=reverse("tutorials:list"),
            paginate_by=99999
        )
        self.build_detail_view()


def builder():
    j = BuildTutorals("tutorials", "tutorial")
    j.build()