renamed models + new migrations + initial data

This commit is contained in:
vabene1111
2018-05-06 23:50:40 +02:00
parent c9f0192a2c
commit 9b2d2bea4d
9 changed files with 46 additions and 36 deletions

View File

@@ -45,7 +45,7 @@ class ImportLogTable(tables.Table):
monitor_id = tables.LinkColumn('edit_monitor', args=[A('monitor_id')])
class Meta:
model = ImportLog
model = SyncLog
template_name = 'generic/table_template.html'
fields = ('status', 'msg', 'monitor_id', 'created_at')
@@ -55,7 +55,7 @@ class MonitoredPathTable(tables.Table):
delete = tables.TemplateColumn("<a href='{% url 'delete_monitor' record.id %}' >" + _('Delete') + "</a>")
class Meta:
model = Monitor
model = Sync
template_name = 'generic/table_template.html'
fields = ('id', 'path', 'last_checked')
@@ -65,6 +65,6 @@ class ImportTable(tables.Table):
delete = tables.TemplateColumn("<a href='{% url 'delete_import' record.id %}' >" + _('Delete') + "</a>")
class Meta:
model = NewRecipe
model = RecipeImport
template_name = 'generic/table_template.html'
fields = ('id', 'name', 'path')