Django

Code

Ticket #24 (closed: wontfix)

Opened 3 years ago

Last modified 3 months ago

edit_inline support for OneToOne relationships

Reported by: adrian Assigned to: nobody
Milestone: Component: Metasystem
Version: Keywords: subclassing
Cc: gary.wilson@gmail.com, toomim@cs.washington.edu Triage Stage: Design decision needed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

cannotedit121.jpg (105.0 kB) - added by Michael Toomim <toomim@cs.washington.edu> on 12/12/07 16:39:27.
Screenshot where one cannot edit an inlined OneToOneField? after saving the model

Change History

07/27/05 20:55:04 changed by anonymous

  • priority changed from low to normal.

10/19/05 20:34:11 changed by rjwittams

  • keywords set to subclassing.

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.

06/12/06 06:46:46 changed by Link

  • type deleted.
  • summary changed from edit_inline=True should be possible for OneToOne related objects to edit_inline.

06/12/06 16:28:08 changed by Gary Wilson <gary.wilson@gmail.com>

  • type set to defect.
  • summary changed from edit_inline to edit_inline support for OneToOne relationships.

06/14/06 14:27:15 changed by anonymous

  • cc set to gary.wilson@gmail.com.

02/10/07 10:07:43 changed by Gary Wilson <gary.wilson@gmail.com>

  • 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.

09/14/07 10:40:37 changed by jacob

  • status changed from new to closed.
  • resolution set to wontfix.

Marking wontfix: as rjw. says, once proper subclassing exists editing a Restuaruant *will be* editing a Place, so no need for edit_inline.

09/16/07 13:46:26 changed by ubernostrum

#3662 and #3849 were duplicates.

12/12/07 16:38:36 changed by Michael Toomim <toomim@cs.washington.edu>

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.

12/12/07 16:39:27 changed by Michael Toomim <toomim@cs.washington.edu>

  • attachment cannotedit121.jpg added.

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

12/12/07 16:40:56 changed by Michael Toomim <toomim@cs.washington.edu>

  • cc changed from gary.wilson@gmail.com to gary.wilson@gmail.com, toomim@cs.washington.edu.

01/18/08 17:05:28 changed by korpios

  • cc changed from gary.wilson@gmail.com, toomim@cs.washington.edu to gary.wilson@gmail.com, toomim@cs.washington.edu, korpios@korpios.com.

08/21/08 11:09:48 changed by korpios

  • cc changed from gary.wilson@gmail.com, toomim@cs.washington.edu, korpios@korpios.com to gary.wilson@gmail.com, toomim@cs.washington.edu.

Add/Change #24 (edit_inline support for OneToOne relationships)




Change Properties
Action