diff --git a/src/games/management/commands/import_games.py b/src/games/management/commands/import_games.py index 472f0e1c..6e858c54 100644 --- a/src/games/management/commands/import_games.py +++ b/src/games/management/commands/import_games.py @@ -86,7 +86,6 @@ def import_game(self, game_row, league: League): LOGGER.debug('SKIPPING Row (heading)') return - # league_abbreviation = game_row[0].text number = int(game_row[1].text) if self.options['games'] and number not in self.options['games']: diff --git a/src/players/management/commands/import_reports.py b/src/players/management/commands/import_reports.py index dd1d143f..3bf47167 100644 --- a/src/players/management/commands/import_reports.py +++ b/src/players/management/commands/import_reports.py @@ -158,7 +158,6 @@ def import_scores(table, game: Game, team: Team): player_number: str = row_data[0] player_name: str = row_data[1] - # player_year_of_birth = row_data[2] if not player_number and not player_name: return diff --git a/src/teams/models.py b/src/teams/models.py index a0d92b69..59260a52 100644 --- a/src/teams/models.py +++ b/src/teams/models.py @@ -12,8 +12,6 @@ class Team(models.Model): bhv_id = models.IntegerField(unique=True) retirement = models.DateField(blank=True, null=True) - # logo = models.ImageField(upload_to=os.path.join(settings.MEDIA_ROOT, 'club-logos')) - class Meta: unique_together = (('name', 'league'), ('short_name', 'league'))