theatlantic / django-nested-admin

Django admin classes that allow for nested inlines
http://django-nested-admin.readthedocs.org/
Other
715 stars 99 forks source link

SortableHiddenMixin import does not work #165

Closed kukirokuk closed 4 years ago

kukirokuk commented 4 years ago

When I try to use SortableHiddenMixin I have such error. Library version is 3.2.4

lib/python3.7/site-packages/nested_admin/__init__.py", line 70, in __getattr__
    return ModuleType.__getattribute__(self, name)
AttributeError: module 'nested_admin' has no attribute 'SortableHiddenMixin'
fdintino commented 4 years ago

Ah, I see the problem. I'll push out a fix soon; in the meantime you can instead do

from nested_admin.forms import SortableHiddenMixin
maxi-89 commented 2 years ago

hi everybody. im using django-nested-admin==3.1.3 and i get the same error. return ModuleType.getattribute(self, name) AttributeError: module 'nested_admin' has no attribute 'SortableHiddenMixin'