#24 closed defect (wontfix)
edit_inline support for OneToOne relationships
| Reported by: | Adrian Holovaty | Owned by: | nobody |
|---|---|---|---|
| Component: | Metasystem | Version: | |
| Severity: | normal | Keywords: | subclassing |
| Cc: | gary.wilson@…, toomim@… | Triage Stage: | Design decision needed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
An object should be able to edit a OneToOne related object inline on the original object's page.
For example, users should be able to edit lawrence.com Restaurants on the Place admin screen. (Restaurants are a one-to-one extension of Places.)
Attachments (1)
Change History (13)
comment:1 by , 20 years ago
| priority: | low → normal |
|---|
comment:2 by , 20 years ago
| Keywords: | subclassing added |
|---|
comment:3 by , 19 years ago
| Summary: | edit_inline=True should be possible for OneToOne related objects → edit_inline |
|---|---|
| Type: | defect |
comment:4 by , 19 years ago
| Summary: | edit_inline → edit_inline support for OneToOne relationships |
|---|---|
| Type: | → defect |
comment:5 by , 19 years ago
| Cc: | added |
|---|
comment:6 by , 19 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
I know this feature has been in demand, but model subclassing will greatly affect the implementation of this feature.
comment:7 by , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Marking wontfix: as rjw. says, once proper subclassing exists editing a Restuaruant *will be* editing a Place, so no need for edit_inline.
comment:9 by , 18 years ago
Is this the bug causing the problem with the attached screenshot, or should I create a new ticket?
The screenshot is a Before and After that illustrates my problem: I can edit the inline OneToOneField "Person" when I create a "Pub", but not after I save it.
by , 18 years ago
| Attachment: | cannotedit121.jpg added |
|---|
Screenshot where one cannot edit an inlined OneToOneField after saving the model
comment:10 by , 18 years ago
| Cc: | added |
|---|
comment:11 by , 18 years ago
| Cc: | added |
|---|
comment:12 by , 17 years ago
| Cc: | removed |
|---|
This will happen "for free" when OneToOne is moved to subclassing, as the admin page would be generated from the dynamic type of the object.