django-admin-reversefields

A Django admin mixin that exposes reverse ForeignKey relationships directly on the parent object’s change form. Administrators can bind/unbind related objects from either side without custom forms or inlines.

Core behaviors

  • Declarative config per admin via reverse_relations

  • Filters virtual field names before ModelForm creation to avoid unknown-field errors

  • Injects fields dynamically with per-request, per-object querysets and initial values

  • On save, synchronizes the real FK(s) on the reverse model(s)

Contents

Getting started

Reference

Contributor guide