consolidated player-table

to consolidate, had to move the filtering to the context instead of the template (probably the right way to do it anyway)
also switched from using display to using class to hide cells (also probably the more right/consistent way to do this)
This commit is contained in:
2021-12-10 11:18:48 -06:00
parent 2f620eb417
commit c9fbdacede
6 changed files with 165 additions and 134 deletions

View File

@@ -20,7 +20,7 @@ class Positioning(models.Model):
('DH','DH')
]
position = models.CharField(choices=positions, default=None, max_length=2, null=True, blank=True)
order = models.PositiveSmallIntegerField(default=0, null=True)
order = models.PositiveSmallIntegerField(default=None, null=True)
class Meta:
unique_together = ('player', 'event',)