Django

Code

Ticket #6779 (closed: fixed)

Opened 4 months ago

Last modified 3 months ago

Don't show delete checkbox for "extra" inline items

Reported by: SmileyChris Assigned to: brosner
Milestone: Component: Admin interface
Version: newforms-admin Keywords:
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Easy fix, here's the patch.

Attachments

inline_delete_only_existing.diff (2.6 kB) - added by SmileyChris on 03/14/08 22:27:56.

Change History

03/14/08 22:27:56 changed by SmileyChris

  • attachment inline_delete_only_existing.diff added.

03/15/08 09:12:30 changed by brosner

  • status changed from new to assigned.
  • needs_better_patch changed.
  • needs_tests changed.
  • owner changed from nobody to brosner.
  • needs_docs changed.
  • stage changed from Unreviewed to Ready for checkin.

03/17/08 14:32:05 changed by brosner

  • stage changed from Ready for checkin to Accepted.

New hooks provide more places to do this nicely.

03/17/08 15:28:51 changed by SmileyChris

Doh, I actually did that initially (at the formset level). I thought you'd prefer the more sedated version ;)

03/27/08 00:17:18 changed by brosner

Okay, actually thought about this and your patch is the most correct way. Will apply shortly.

03/27/08 00:23:42 changed by brosner

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [7367]) newforms-admin: Fixed #6779 -- Removed the delete checkbox for "extra" inlines. Thanks, SmileyChris?.


Add/Change #6779 (Don't show delete checkbox for "extra" inline items)




Change Properties
Action