Code

Opened 4 years ago

Closed 4 years ago

#13806 closed (worksforme)

ModelAdmin.save_as does not work

Reported by: retrogradeorbit@… Owned by: nobody
Component: contrib.admin Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The documents http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#modeladmin-options describe a ModelAdmin save_as option 'Normally, objects have three save options: "Save", "Save and continue editing" and "Save and add another". If save_as is True, "Save and add another" will be replaced by a "Save as" button.'

With save_as=True, the button stays "Save and add another". The option appears to do nothing. Either the documents are wrong, or it is a bug.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by retrogradeorbit@…

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

Sorry. This does work. Was a form problem :P

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.