make fields in license not required
This commit is contained in:
parent
7a48ca0095
commit
fa8246ab5a
|
@ -123,9 +123,9 @@ class ScriptScript(models.Model):
|
|||
class License(ItfModel):
|
||||
letter = models.CharField(max_length=2)
|
||||
name = models.CharField(max_length=255)
|
||||
short_description = models.TextField()
|
||||
readable_file = models.FileField(upload_to='upload/licenses/short/')
|
||||
legal_file = models.FileField(upload_to='upload/licenses/legal/')
|
||||
short_description = models.TextField(blank=True)
|
||||
readable_file = models.FileField(upload_to='upload/licenses/short/', blank=True)
|
||||
legal_file = models.FileField(upload_to='upload/licenses/legal/', blank=True)
|
||||
typ = models.CharField(choices=LICENSE_TYPE_CHOICES, max_length=32)
|
||||
|
||||
title_field = 'name'
|
||||
|
|
Loading…
Reference in New Issue
Block a user