"""
Données initiales pour l'application tournoi
Ce fichier contient les données de base à charger dans la base de données
"""

# Districts
DISTRICTS = [
    {'nom_district': 'Aquitaine', 'code_district': 'AQU'},
    {'nom_district': 'Poitou Charentes', 'code_district': 'PC'},
    {'nom_district': 'Limousin', 'code_district': 'LIM'},
]

# Ligues par district
LIGUES = [
    # Aquitaine
    {'nom_ligue': 'Ligue Aquitaine 2,80m', 'district_code': 'AQU'},
    {'nom_ligue': 'Ligue Aquitaine 3,10m', 'district_code': 'AQU'},
    
    # Poitou Charentes
    {'nom_ligue': 'Ligue Poitou Charentes 2,80m', 'district_code': 'PC'},
    {'nom_ligue': 'Ligue Poitou Charentes 3,10m', 'district_code': 'PC'},
    
    # Limousin
    {'nom_ligue': 'Ligue Limousin 2,80m', 'district_code': 'LIM'},
    {'nom_ligue': 'Ligue Limousin 3,10m', 'district_code': 'LIM'},
]

# Clubs par district (basé sur l'analyse de l'application existante)
CLUBS = [
    # Zone 33 - Aquitaine
    {'nom_club': 'Club Andernos', 'short_name': 'ANDE1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Andernos 2', 'short_name': 'ANDE2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Arcachon', 'short_name': 'ARCA1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Arcachon 2', 'short_name': 'ARCA2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Cestas', 'short_name': 'CEST1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Cestas 2', 'short_name': 'CEST2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Gradignan', 'short_name': 'GRAD1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Gradignan 2', 'short_name': 'GRAD2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Mios', 'short_name': 'MIOS1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Mios 2', 'short_name': 'MIOS2', 'district_code': 'AQU', 'dimension': 280},
    
    # Zone 40-64 - Aquitaine
    {'nom_club': 'Club Bayonne', 'short_name': 'BAY1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Bayonne 2', 'short_name': 'BAY2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Dax', 'short_name': 'DAX1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Dax 2', 'short_name': 'DAX2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Mont de Marsan', 'short_name': 'MONT1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Mont de Marsan 2', 'short_name': 'MONT2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Parentis', 'short_name': 'PAR1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Parentis 2', 'short_name': 'PAR2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Pau', 'short_name': 'PAU1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Pau 2', 'short_name': 'PAU2', 'district_code': 'AQU', 'dimension': 280},
    
    # Zone 47 - Aquitaine
    {'nom_club': 'Club Agen', 'short_name': 'AGEN1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Agen 2', 'short_name': 'AGEN2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Marmande', 'short_name': 'MAR1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Marmande 2', 'short_name': 'MAR2', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Villeneuve', 'short_name': 'VIL1', 'district_code': 'AQU', 'dimension': 280},
    {'nom_club': 'Club Villeneuve 2', 'short_name': 'VIL2', 'district_code': 'AQU', 'dimension': 280},
    
    # Poitou Charentes - quelques clubs d'exemple
    {'nom_club': 'Club Poitiers', 'short_name': 'POIT1', 'district_code': 'PC', 'dimension': 280},
    {'nom_club': 'Club Poitiers 2', 'short_name': 'POIT2', 'district_code': 'PC', 'dimension': 280},
    {'nom_club': 'Club La Rochelle', 'short_name': 'LR1', 'district_code': 'PC', 'dimension': 280},
    {'nom_club': 'Club La Rochelle 2', 'short_name': 'LR2', 'district_code': 'PC', 'dimension': 280},
    {'nom_club': 'Club Angoulême', 'short_name': 'ANG1', 'district_code': 'PC', 'dimension': 280},
    {'nom_club': 'Club Angoulême 2', 'short_name': 'ANG2', 'district_code': 'PC', 'dimension': 280},
    
    # Limousin - quelques clubs d'exemple
    {'nom_club': 'Club Limoges', 'short_name': 'LIM1', 'district_code': 'LIM', 'dimension': 280},
    {'nom_club': 'Club Limoges 2', 'short_name': 'LIM2', 'district_code': 'LIM', 'dimension': 280},
    {'nom_club': 'Club Brive', 'short_name': 'BRIV1', 'district_code': 'LIM', 'dimension': 280},
    {'nom_club': 'Club Brive 2', 'short_name': 'BRIV2', 'district_code': 'LIM', 'dimension': 280},
    
    # Clubs 3,10m (tous districts)
    {'nom_club': 'Club Bordeaux 3,10m', 'short_name': 'BDX31', 'district_code': 'AQU', 'dimension': 310},
    {'nom_club': 'Club Poitiers 3,10m', 'short_name': 'POI31', 'district_code': 'PC', 'dimension': 310},
    {'nom_club': 'Club Limoges 3,10m', 'short_name': 'LIM31', 'district_code': 'LIM', 'dimension': 310},
]

# Modes de jeu
MODES_JEUX = [
    {'mode_jeux': 'Libre R4', 'color': '#007bff', 'description': 'Tournoi libre niveau R4', 'ordre': 1},
    {'mode_jeux': 'Libre R3', 'color': '#28a745', 'description': 'Tournoi libre niveau R3', 'ordre': 2},
    {'mode_jeux': 'Libre R2', 'color': '#ffc107', 'description': 'Tournoi libre niveau R2', 'ordre': 3},
    {'mode_jeux': 'Libre R1', 'color': '#dc3545', 'description': 'Tournoi libre niveau R1', 'ordre': 4},
    {'mode_jeux': 'Cadre 47/2', 'color': '#6f42c1', 'description': 'Tournoi cadre 47/2', 'ordre': 5},
    {'mode_jeux': 'Cadre 71/2', 'color': '#fd7e14', 'description': 'Tournoi cadre 71/2', 'ordre': 6},
    {'mode_jeux': 'Trois bandes', 'color': '#20c997', 'description': 'Tournoi trois bandes', 'ordre': 7},
    {'mode_jeux': 'Pas de Tournoi', 'color': '#6c757d', 'description': 'Aucun tournoi prévu', 'ordre': 999},
]
