dj-nested-inlines icon indicating copy to clipboard operation
dj-nested-inlines copied to clipboard

Error when adding User with nested inlines

Open PetrDlouhy opened this issue 8 years ago • 2 comments

I have nested inlines on User model admin and I got following message when I try to add new user in Django 1.9:

/home/petr/soubory/programovani/Auto-mat/DPNK/dpnk/env/src/django-nested-inlines/nested_inlines/admin.py in add_view self.log_addition(request, new_object) log_addition() missing 1 required positional argument: 'message'

PetrDlouhy avatar Feb 21 '16 16:02 PetrDlouhy

Fix is in PR #32, although without tests on this project, I can't tell if it doesn't break compatibility with older Django versions.

PetrDlouhy avatar Feb 21 '16 16:02 PetrDlouhy

FYI - it does break compatibility with Django 1.6.

lyndsysimon avatar Apr 06 '16 13:04 lyndsysimon