$npx skillfedfor your agent

django-nonrelated-inlines

Django admin inlines for unrelated models

With conditionsPyPI LibrariesReleased Jun 2022172.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_nonrelated_inlines-0.2-py3-none-any.whl
v0.2 · released 2022-06-06 · Python >=3.6 · 1 runtime deps: Django

Yes, if you need nonrelated inlines and are using Django 2.0–4.0 on Python 3.6–3.10. The package is dormant (no updates since June 2022), so compatibility with newer Django or Python releases is uncertain. Test thoroughly in your environment before relying on it in production. For active maintenance and support, consider whether a custom admin solution or a maintained alternative would be safer.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django to be installed; package is dormant and may not support the latest Django versions.
  • Low install friction with a single dependency on Django.
  • Maintenance is dormant—last release was 2022-06-06 and the repository has not been updated since 2024-10-02, so expect no active support or updates for newer Django versions.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2022-06-06 (1530 days) · last repo commit 2024-10-02 · 68 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 172,261 downloads/mo, #10,343 on PyPI

Verify before relying

pip install django-nonrelated-inlines

from django_nonrelated_inlines.admin import NonrelatedStackedInline

class MyInline(NonrelatedStackedInline):
    model = MyModel
    def get_form_queryset(self, obj):
        return MyModel.objects.filter(some_field=obj.some_field)
    def save_new_instance(self, parent, instance):
        instance.some_field = parent.some_field
  • Compatibility with Django versions released after 4.0 (latest classifier in fact sheet).
  • Whether the package works with current Python 3.10+ minor releases and future versions.
  • Active maintenance status and responsiveness to issues or pull requests.
Same gist for agents: .md · .json

What it is and what it does

django-nonrelated-inlines extends Django's admin interface to support inline editing of models that have no direct foreign key relationship. Normally, Django inlines require a ForeignKey linking the child model to the parent; this package removes that constraint by letting you define custom logic to determine which child objects belong to a parent and how to save that association.

You subclass either NonrelatedStackedInline or NonrelatedTabularInline and implement two methods: get_form_queryset() to return the child objects to display for a given parent, and save_new_instance() to establish the relationship when a new child is saved. This is useful when models are related by a shared attribute (like email address) rather than an explicit database key, or when the relationship is computed or stored elsewhere.

Use it for

  • Display invoices linked to a customer by email address in the customer admin page without a ForeignKey field.
  • Show related records from a legacy database where relationships are stored outside the ORM.
  • Manage many-to-many-like associations stored in a separate table or external system.
  • Build admin inlines for models related by computed logic rather than direct foreign keys.
  • Prototype admin interfaces quickly when the relationship model is not yet finalized.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need nonrelated inlines and are using Django 2.0–4.0 on Python 3.6–3.10.

The package is dormant (no updates since June 2022), so compatibility with newer Django or Python releases is uncertain. Test thoroughly in your environment before relying on it in production. For active maintenance and support, consider whether a custom admin solution or a maintained alternative would be safer.

Install

django-nonrelated-inlines on PyPI

Before you install

Low install friction with a single dependency on Django. Maintenance is dormant—last release was 2022-06-06 and the repository has not been updated since 2024-10-02, so expect no active support or updates for newer Django versions.

Requires Django to be installed; package is dormant and may not support the latest Django versions.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install django-nonrelated-inlines

from django_nonrelated_inlines.admin import NonrelatedStackedInline

class MyInline(NonrelatedStackedInline):
    model = MyModel
    def get_form_queryset(self, obj):
        return MyModel.objects.filter(some_field=obj.some_field)
    def save_new_instance(self, parent, instance):
        instance.some_field = parent.some_field

Verify before relying

  • Compatibility with Django versions released after 4.0 (latest classifier in fact sheet).
  • Whether the package works with current Python 3.10+ minor releases and future versions.
  • Active maintenance status and responsiveness to issues or pull requests.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
Django
MaintenanceDormant 1,530 days since the last release
Last repo commit
First released
Downloads172,261 / month, #10,343 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 2.0Framework :: Django :: 2.1Framework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Framework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Flake8Framework :: toxIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: django_nonrelated_inlines-0.2-py3-none-any.whl

Tags

Capabilities
django admin inlines unrelated modelsdjango inline without foreign keydjango admin custom relationshipdjango nonrelated inline formsdjango admin inline queryset filterdjango stacked tabular inline customdjango admin inline save logic
Topics
django-adminorm-extension

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django admin inlines unrelated models”

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also django-reverse-admin · django-nested-admin · django-admin-inline-paginator · django-admin-inline-paginator-plus · django-admin-sortable2 · django-extra-views · django-nested-inline · django-modeltree · django-tree-queries · django-admin-list-filter-dropdown