X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2f9cb34a07fcd98effda2fa900e48c31813f14c8..a6313c606743aacbbb76a24a135a01fa2d32392b:/apps/organizations/models.py diff --git a/apps/organizations/models.py b/apps/organizations/models.py index 1781d7db..9d3300a2 100644 --- a/apps/organizations/models.py +++ b/apps/organizations/models.py @@ -103,16 +103,17 @@ class Organization(Card): preview_html_template = 'organizations/snippets/organization.html' name = models.CharField(max_length=1024) - #logo = models.ImageField(upload_to='people/logo', blank=True) - #country = models.CharField(max_length=64, blank=True, choices=countries) - #www = models.URLField(blank=True) - #description = models.TextField(blank=True, default="") - ##projects = JSONField(default=[]) - #projects = models.TextField(blank=True, default="") + tags = models.ManyToManyField('catalogue.Tag') + # logo = models.ImageField(upload_to='people/logo', blank=True) + # country = models.CharField(max_length=64, blank=True, choices=countries) + # www = models.URLField(blank=True) + # description = models.TextField(blank=True, default="") + # #projects = JSONField(default=[]) + # projects = models.TextField(blank=True, default="") - #preview_html = models.TextField(blank=True, default="") + # preview_html = models.TextField(blank=True, default="") - #created_at = models.DateTimeField(auto_now_add=True) + # created_at = models.DateTimeField(auto_now_add=True) def __str__(self): return self.name