list views

This commit is contained in:
vabene1111
2018-05-03 20:43:47 +02:00
parent 284beb47af
commit e722863093
8 changed files with 50 additions and 29 deletions

View File

@@ -45,7 +45,7 @@ class MonitoredPathTable(tables.Table):
delete = tables.TemplateColumn("<a href='{% url 'delete_monitor' record.id %}' >" + _('Delete') + "</a>")
class Meta:
model = Keyword
model = Monitor
template_name = 'generic/table_template.html'
fields = ('path', 'last_checked')
@@ -54,6 +54,6 @@ class NewRecipeTable(tables.Table):
delete = tables.TemplateColumn("<a href='{% url 'delete_new_recipe' record.id %}' >" + _('Delete') + "</a>")
class Meta:
model = Keyword
model = NewRecipe
template_name = 'generic/table_template.html'
fields = ('name','path')