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):
|
class License(ItfModel):
|
||||||
letter = models.CharField(max_length=2)
|
letter = models.CharField(max_length=2)
|
||||||
name = models.CharField(max_length=255)
|
name = models.CharField(max_length=255)
|
||||||
short_description = models.TextField()
|
short_description = models.TextField(blank=True)
|
||||||
readable_file = models.FileField(upload_to='upload/licenses/short/')
|
readable_file = models.FileField(upload_to='upload/licenses/short/', blank=True)
|
||||||
legal_file = models.FileField(upload_to='upload/licenses/legal/')
|
legal_file = models.FileField(upload_to='upload/licenses/legal/', blank=True)
|
||||||
typ = models.CharField(choices=LICENSE_TYPE_CHOICES, max_length=32)
|
typ = models.CharField(choices=LICENSE_TYPE_CHOICES, max_length=32)
|
||||||
|
|
||||||
title_field = 'name'
|
title_field = 'name'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user