X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4fae06ea1b9fec1a45482ac043aa049ebce3f465..6b6ff36189e97efb3b463643018806e9ff8e14a8:/src/documents/models/project.py diff --git a/src/documents/models/project.py b/src/documents/models/project.py index cc78ba58..9efee5a6 100644 --- a/src/documents/models/project.py +++ b/src/documents/models/project.py @@ -10,6 +10,11 @@ class Project(models.Model): name = models.CharField(_('name'), max_length=255, unique=True) notes = models.TextField(_('notes'), blank=True, null=True) + logo = models.FileField(upload_to='projects', blank=True) + logo_mono = models.FileField(upload_to='logo_mono', help_text='white on transparent', blank=True) + logo_alt = models.CharField(max_length=255, blank=True) + private_notes = models.TextField(blank=True, verbose_name='Prywatne notatki') + can_sell = models.BooleanField(default=True, verbose_name='Do sprzedaży') class Meta: app_label = 'documents'