Commit c986c7d6 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Fixing warning fields.W340

parent 740366c2
......@@ -371,9 +371,9 @@ class Ppi(AutoFillableModel):
pockets_nb = models.IntegerField(
'Total number of pockets in the complex', default=1)
symmetry = models.ForeignKey(Symmetry, models.CASCADE)
diseases = models.ManyToManyField(Disease, null=True, blank=True)
diseases = models.ManyToManyField(Disease, blank=True)
family = models.ForeignKey(PpiFamily, models.CASCADE, null=True, blank=True)
name = models.TextField('PPI name', blank=True)
name = models.TextField('PPI name', null=True, blank=True)
def __str__(self):
return 'PPI #{} on {}'.format(,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment