Files
RosterChief/events/migrations/0012_alter_location_country.py
Bernard Siebens e6850232f0 Rework Teams/Positions access control and add full Locations/Opponents CRUD
Team managers/coaches now only see their own teams, can't create teams,
and can view (but not edit) positions -- admins keep full rights.
Locations and Opponents move from read-only stubs to full CRUD, gated
to admins and management-position staff, with a country dropdown
(django-countries) instead of free text. Also: the team list shows
player/staff counts, and deleting a news item's main photo promotes
another one instead of leaving the item without one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R1gj3J1QPfP38XWpnpbFpy
2026-08-04 12:27:24 +02:00

20 lines
461 B
Python

# Generated by Django 6.0.6 on 2026-08-04 09:45
import django_countries.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('events', '0011_location_is_home_and_more'),
]
operations = [
migrations.AlterField(
model_name='location',
name='country',
field=django_countries.fields.CountryField(max_length=2, verbose_name='country'),
),
]