[patch] magic-removal using deprecated attribute in db/models/manipulators.py line 218
In admin page, error occurs as:
AttributeError at /admin/apt/apt_property/2/
'Apt_Unit' object has no attribute 'set_feature'
Request Method: POST
Request URL: http://localhost:8000/admin/apt/apt_property/2/
Exception Type: AttributeError
Exception Value: 'Apt_Unit' object has no attribute 'set_feature'
Exception Location: C:\Program Files\Python24\lib\site-packages\django\db\models\manipulators.py in save, line 218
Change History
(9)
Owner: |
changed from Adrian Holovaty to anonymous
|
Status: |
new → assigned
|
Summary: |
magic-removal using deprecated attribute in db/models/manipulators.py line 218 → [patch] magic-removal using deprecated attribute in db/models/manipulators.py line 218
|
Owner: |
changed from anonymous to Adrian Holovaty
|
Status: |
assigned → new
|
priority: |
normal → high
|
Severity: |
normal → major
|
milestone: |
Version 0.92 → Version 1.0
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
in admin, error occurs when following through inlined models with many-to-many relationship. This part of the code was not converted for magic-removal. I've written a fix and I'm submitting a patch ... but it is very shaky as this is my first attempt at anything in Djano (let alone in Python), so please take a look and merge/fix/etc. Thanks.