acdh-oeaw / eurotort

Eurotort - Database on European Tort Law
https://eurotort.acdh-dev.oeaw.ac.at
1 stars 0 forks source link

listviews - authors #39

Closed csae8092 closed 6 months ago

csae8092 commented 6 months ago

authors grouped by legal system

csae8092 commented 6 months ago

well, so far only one author is actually linked to a legal system... to be fixed with

for x in CourtDecission.objects.all():
    legal_system = x.partial_legal_system
    for a in x.author.all():
        a.legal_system.add(legal_system)