The Paechter model's reverse relation from LandVerpachtung uses related_name='neue_verpachtungen', not the default 'landverpachtung'. Fixed the annotate() query in top_paechter section of paechter_workflow view.
The Paechter model's reverse relation from LandVerpachtung uses related_name='neue_verpachtungen', not the default 'landverpachtung'. Fixed the annotate() query in top_paechter section of paechter_workflow view.