fix: fixed form errors

This commit is contained in:
Rushil Umaretiya 2021-02-19 14:54:32 -05:00
parent 55fc02219f
commit e6e3be0ec2
3 changed files with 2 additions and 2 deletions

View File

@ -57,4 +57,4 @@ class ScoreForm(forms.ModelForm):
class Meta:
model = Score
fields = ['innovation', 'need', 'finances', 'creativity', 'qna', 'speaking', 'persuasiveness', 'professionalism']
fields = ['innovation', 'need', 'finances', 'creativity', 'qna', 'speaking', 'persuasiveness', 'professionalism']

View File

@ -21,7 +21,7 @@ class Team(models.Model):
verbose_name_plural = "Teams"
def __str__(self):
return self.name
return f'Team {self.number}: {self.name}'
# def clean(self):
# # Don't allow teams to have the same name.

0
manage.py Executable file → Normal file
View File