summaryrefslogtreecommitdiff
path: root/app/resume/build.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-19 21:15:50 -0500
committerluxagraf <sng@luxagraf.net>2015-11-19 21:15:50 -0500
commite5f21b720bdde4edb87024aadba1d7525d26d407 (patch)
tree075ef91c2cec7691c810d7554ee36f5ac67117fc /app/resume/build.py
parentfb5f8d0cbfd016bac855968e1e1d6ab5f6ef6689 (diff)
added resume to build list in admin
Diffstat (limited to 'app/resume/build.py')
-rw-r--r--app/resume/build.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/resume/build.py b/app/resume/build.py
index 7241a70..2b472a4 100644
--- a/app/resume/build.py
+++ b/app/resume/build.py
@@ -3,13 +3,13 @@ from django.core.urlresolvers import reverse
from builder.base import BuildNew
-class BuildExpenses(BuildNew):
+class BuildResume(BuildNew):
def build(self):
self.build_detail_view()
self.build_list_view(
- base_path=reverse("expenses:list_trip"),
- paginate_by=24
+ base_path=reverse("resume:list"),
+ paginate_by=99999
)
def get_model_queryset(self):
@@ -17,7 +17,7 @@ class BuildExpenses(BuildNew):
def build_detail_view(self):
'''
- write out all the expenses for each trip
+ write out my backups of published articles
'''
for obj in self.get_model_queryset():
url = obj.get_absolute_url()
@@ -30,5 +30,5 @@ class BuildExpenses(BuildNew):
def builder():
- j = BuildExpenses("expenses", "trip")
+ j = BuildResume("resume", "pubitem")
j.build()