Import Data from Hong Kong Hockey Association

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
Data Source

This import feature populates the database with clubs and teams from the Hong Kong Hockey Association Men's League Standings.

Note: Only new records will be imported. Existing clubs and teams will be skipped to prevent duplicates.

{{ form.hidden_tag() }}
Import Options
{{ form.import_clubs(class="form-check-input") }} {{ form.import_clubs.label(class="form-check-label") }} Import 30+ hockey clubs including HKFC, KCC, USRC, Valley, SSSC, Dragons, etc.
Select Specific Clubs Choose which clubs to import instead of importing all
{{ form.import_teams(class="form-check-input") }} {{ form.import_teams.label(class="form-check-label") }} Import teams from all 6 divisions (Premier, 1st, 2nd, 3rd, 4th, 5th, 6th Division)
{{ form.import_players(class="form-check-input") }} {{ form.import_players.label(class="form-check-label") }} Import 5 sample players for HKFC C team (optional)
{{ form.cancel(class="btn btn-secondary me-md-2") }} {{ form.import_data(class="btn btn-primary") }}
What Gets Imported
Clubs (30+ clubs)
  • • HKFC, KCC, USRC, Valley
  • • SSSC, Dragons, Kai Tak, RHOBA
  • • Elite, Aquila, HKJ, Sirius
  • • Shaheen, Diocesan, Rhino, Khalsa
  • • HKCC, Police, Recreio, CSD
  • • Dutch, HKUHC, Kaitiaki, Antlers
  • • Marcellin, Skyers, JR, IUHK
  • • 144U, HKU, and more...
Teams (60+ teams across 6 divisions)
  • Premier Division: HKFC A, KCC A, USRC A, Valley A
  • 1st Division: HKFC B, KCC B, USRC B, Valley B
  • 2nd Division: HKFC C, KCC C, USRC C, Valley C
  • 3rd Division: SSSC C, Dragons A, Kai Tak B, etc.
  • 4th Division: Khalsa C, HKCC C, Valley D, etc.
  • 5th Division: KCC D, Kai Tak C, Dragons B, etc.
  • 6th Division: Rhino B, Skyers A, JR, etc.