null=True for int fields
This commit is contained in:
parent
6ab0c7528d
commit
26049806d2
|
@ -25,12 +25,12 @@ class Script(ItfModel):
|
||||||
user = models.ForeignKey(User)
|
user = models.ForeignKey(User)
|
||||||
title = models.CharField(max_length=255)
|
title = models.CharField(max_length=255)
|
||||||
synopsis = models.TextField(blank=True)
|
synopsis = models.TextField(blank=True)
|
||||||
no_characters = models.IntegerField(blank=True, help_text="Approximate number of characters")
|
no_characters = models.IntegerField(blank=True, null=True, help_text="Approximate number of characters")
|
||||||
no_of_women = models.IntegerField(blank=True, help_text="How many characters are women?")
|
no_of_women = models.IntegerField(blank=True, null=True, help_text="How many characters are women?")
|
||||||
tags = TagField(blank=True)
|
tags = TagField(blank=True)
|
||||||
production_notes = models.TextField(blank=True, help_text="Additional production notes")
|
production_notes = models.TextField(blank=True, help_text="Additional production notes")
|
||||||
language = models.CharField(max_length=32, choices=LANGUAGE_CHOICES)
|
language = models.CharField(max_length=32, choices=LANGUAGE_CHOICES)
|
||||||
approx_duration = models.IntegerField(blank=True, help_text="Approximate time, in minutes")
|
approx_duration = models.IntegerField(blank=True, null=True, help_text="Approximate time, in minutes")
|
||||||
is_partial = models.BooleanField(default=False, help_text="Check this if you are uploading only a partial script")
|
is_partial = models.BooleanField(default=False, help_text="Check this if you are uploading only a partial script")
|
||||||
author = models.CharField(max_length=255)
|
author = models.CharField(max_length=255)
|
||||||
contact = models.EmailField()
|
contact = models.EmailField()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user