showing googlemaps in company admin

This commit is contained in:
Sam
2021-03-05 13:13:49 +00:00
parent 1aa2698763
commit 4316ab6f2b
5 changed files with 23 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ class Company(models.Model):
# internal
created = models.DateTimeField('date of creation', auto_now_add=True)
updated = models.DateTimeField('date last update', auto_now=True)
creator = models.ForeignKey('core.CustomUser', on_delete=models.DO_NOTHING, null=True, related_name='creator')
creator = models.ForeignKey('core.CustomUser', on_delete=models.DO_NOTHING, null=True, blank=True, related_name='creator')
# history = models.ForeignKey(HistorySync, null=True, on_delete=models.DO_NOTHING, related_name='company')
class Meta: