OskarPersson / django-nested-inline

Nested inline support for Django admin
MIT License
344 stars 136 forks source link

fixing no-name error with a save_as option #139

Closed KanHatakeyama closed 1 year ago

KanHatakeyama commented 2 years ago

Options.module_name has been deprecated in favor of model_name. https://github.com/django-ordered-model/django-ordered-model/issues/30

Therefore, in admin.py (django-nested-inline==0.4.4), the following fix should be needed to avoid a no-name error during the admin option of "save_as".

line 290 [OLD] opts.module_name

[FIXED] opts.model_name