diff options
Diffstat (limited to 'app/birds/build.py')
-rw-r--r-- | app/birds/build.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app/birds/build.py b/app/birds/build.py deleted file mode 100644 index 565b675..0000000 --- a/app/birds/build.py +++ /dev/null @@ -1,21 +0,0 @@ -import os -from django.urls import reverse -from builder.base import BuildNew - - -class BuildBirds(BuildNew): - - def build(self): - self.build_detail_view() - self.build_list_view( - base_path=reverse("birds:list_redirect"), - paginate_by=24 - ) - print("building birds") - - def get_model_queryset(self): - return self.model.objects.all() - -def builder(): - j = BuildBirds("birds", "birdsighting") - j.build() |