Code

Opened 9 years ago

Closed 7 years ago

Last modified 6 years ago

#24 closed defect (wontfix)

edit_inline support for OneToOne relationships

Reported by: adrian 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: UI/UX:

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)

cannotedit121.jpg (105.0 KB) - added by Michael Toomim <toomim@…> 7 years ago.
Screenshot where one cannot edit an inlined OneToOneField after saving the model

Download all attachments as: .zip

Change History (13)

comment:1 Changed 9 years ago by anonymous

  • priority changed from low to normal

comment:2 Changed 9 years ago by rjwittams

  • Keywords subclassing added

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.

comment:3 Changed 8 years ago by Link

  • Summary changed from edit_inline=True should be possible for OneToOne related objects to edit_inline
  • Type defect deleted

comment:4 Changed 8 years ago by Gary Wilson <gary.wilson@…>

  • Summary changed from edit_inline to edit_inline support for OneToOne relationships
  • Type set to defect

comment:5 Changed 8 years ago by anonymous

  • Cc gary.wilson@… added

comment:6 Changed 7 years ago by Gary Wilson <gary.wilson@…>

  • Triage Stage changed from Unreviewed to Design decision needed

I know this feature has been in demand, but model subclassing will greatly affect the implementation of this feature.

comment:7 Changed 7 years ago by jacob

  • Resolution set to wontfix
  • Status changed from new to 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:8 Changed 7 years ago by ubernostrum

#3662 and #3849 were duplicates.

comment:9 Changed 7 years ago by Michael Toomim <toomim@…>

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.

Changed 7 years ago by Michael Toomim <toomim@…>

Screenshot where one cannot edit an inlined OneToOneField after saving the model

comment:10 Changed 7 years ago by Michael Toomim <toomim@…>

  • Cc toomim@… added

comment:11 Changed 6 years ago by korpios

  • Cc korpios@… added

comment:12 Changed 6 years ago by korpios

  • Cc korpios@… removed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.