undid regressions from code merge with diego

This commit is contained in:
Sam
2021-02-04 13:19:43 +00:00
parent b11a5afa8b
commit 65c571a887
9 changed files with 44 additions and 33 deletions

View File

@@ -7,7 +7,7 @@ class HistorySync(models.Model):
Keeps an historic record of the importation of products for a company
"""
company = models.ForeignKey('companies.Company', on_delete=models.DO_NOTHING, null=True, related_name='history_company')
company = models.ForeignKey('companies.Company', on_delete=models.DO_NOTHING, null=True)
rss_url = models.URLField('URL del feed', null=True, blank=True)
sync_date = models.DateTimeField('Fecha de lanzamiento', null=True)
result = models.TextField('Resultado', null=True, blank=True)