Django admin inlines for unrelated models – allows using inline formsets for models without a direct foreign key relationship. Version 0.2, released to PyPI in 2021 (last release). Requires Django >= 3.0 and Python >= 3.6. Currently in maintenance mode with no recent updates.
pip install django-nonrelated-inlinesVerified import paths — ran on the pinned version, not inferred.
Define a non-related inline by providing a custom get_queryset method that filters based on the parent object.
Always provide a custom `get_queryset` method that filters by the parent instance.
Do not set `fk_name` on the inline class. Use `get_queryset` for filtering.
Test with your Django version; consider forking or using alternative approaches (e.g., custom admin views).