fixed link creation and updated model

This commit is contained in:
vabene1111
2018-06-06 23:31:47 +02:00
parent 2e2144a9e3
commit 8b6f7bd7cb
9 changed files with 23 additions and 46 deletions

View File

@ -78,7 +78,7 @@ class SyncTable(tables.Table):
class Meta:
model = Sync
template_name = 'generic/table_template.html'
fields = ('id', 'path', 'storage', 'last_checked')
fields = ('id', 'file_path', 'storage', 'last_checked')
class RecipeImportTable(tables.Table):
@ -88,4 +88,4 @@ class RecipeImportTable(tables.Table):
class Meta:
model = RecipeImport
template_name = 'generic/table_template.html'
fields = ('id', 'name', 'path')
fields = ('id', 'name', 'file_path')