diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-05 11:40:42 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-05 11:40:42 -0500 |
commit | a2891841fbf1e5660693a1f9109f2e6810224a3b (patch) | |
tree | be0aae73fe8f5e6271a76e8c5c6dc35b00f347a6 /app/tutorials/build.py | |
parent | bdc06f56d538358f1fa07d35afb5733c790e3ab2 (diff) |
Diffstat (limited to 'app/tutorials/build.py')
-rw-r--r-- | app/tutorials/build.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/tutorials/build.py b/app/tutorials/build.py new file mode 100644 index 0000000..4256595 --- /dev/null +++ b/app/tutorials/build.py @@ -0,0 +1,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() |