Code

Opened 7 years ago

Closed 7 years ago

#4570 closed (fixed)

[newforms-admin] object has no attribute 'inlines'

Reported by: Glin <glin@…> Owned by: adrian
Component: contrib.admin Version: newforms-admin
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

Just updated to newest version of newforms-admin branch, admin change and add views stop working.
For example if I click to auth groups "add" button, error is:

AttributeError at /admin/auth/group/add/
'GroupAdmin' object has no attribute 'inlines'
Request Method: 	GET
Request URL: 	http://127.0.0.1:8000/admin/auth/group/add/
Exception Type: 	AttributeError
Exception Value: 	'GroupAdmin' object has no attribute 'inlines'
Exception Location: 	/usr/lib/python2.4/site-packages/django/contrib/admin/options.py in get_inline_formsets, line 680
Python Executable: 	/usr/bin/python
Python Version: 	2.4.3

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by jkocherhans

  • Resolution set to fixed
  • Status changed from new to closed

(In [5479]) newforms-admin: Fixed #4570. Added deafult 'inlines' attribute to ModelAdmin.

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.