#35887: Improve Examples for StackedInline and TabularInline
-------------------------------------+-------------------------------------
Reporter: Alexander Lazarević | Owner: Alexander
Type: | Lazarević
Cleanup/optimization | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce):
There are other examples where imports and registering has been excluded -
these are mostly showing a specific ModelAdmin or inline feature (the
example has one class definition) - I think these cases it's much more
focused to not have the imports etc as it's a clear partial example
However, when the example defines multiple "things" (so a ModelAdmin and
an inline for example), these examples are "fuller". If these have imports
they should be complete. I also think it's good to be explicit that
inlines do not need registering to the admin.
But the PR does include more changes than this so I will re-review with
that in mind
--
Ticket URL: <https://code.djangoproject.com/ticket/35887#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019300a6b1dc-f7b46da3-c153-4766-bfc8-6a24267dbbd3-000000%40eu-central-1.amazonses.com.