Opened 5 months ago

Closed 5 months ago

#21931 closed Uncategorized (needsinfo)

DeleteProtectedModelForm has no fields attribute

Reported by: Siecje Owned by: nobody
Component: Uncategorized Version: 1.7-alpha-1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When using the 1.7 alpha the runserver console has a depreciation warning

.../python2.7/site-packages/Django-1.7a1-py2.7.egg/django/contrib/admin/ DeprecationWarning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form DeleteProtectedModelForm needs updating

class DeleteProtectedModelForm(base_model_form):

Attachments (0)

Change History (1)

comment:1 Changed 5 months ago by timo

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

Are you using a custom form for your ModelAdmin that needs to be updated as noted in the message? If not, could you please provide steps to reproduce the issue and reopen the ticket? Thanks.

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.