django-jet
django-jet copied to clipboard
__init__() missing 1 required positional argument: 'search_help_text'
Hello all, i have an issue with entering to edit model instance menu.
Maybe someone had the same issue?
I am also facing the same issue. Do you have any solution for that?
I am also facing the same issue. Do you have any solution for that?
Still nope. I can offer a few solutions, but they are quite radical:
- Downgrade to Django 3
- Get rid of JET and select smth else
I don't think this repository is maintained anymore. I tried to fix this issue a while ago and it's working now on django 4.0.1 . here is the link
@Mojtaba-saf I installed your version with pip install https://github.com/Mojtaba-saf/django-jet/archive/dev.zip and I still get the problem with search_help_text
. Did your fix work for you?
My bad, I had Django 3. I upgraded to Django 4.0.1 and it works fine now!
Btw just stumbled upon https://github.com/assem-ch/django-jet-reboot
jet/utils.py file change
search_help_text = model_admin.search_help_text change_list_args = [ request, model, list_display, list_display_links, list_filter, model_admin.date_hierarchy, search_fields, list_select_related, model_admin.list_per_page, model_admin.list_max_show_all, model_admin.list_editable, model_admin] model_admin.list_editable, model_admin,search_help_text]
model_admin.list_editable, model_admin,search_help_text
I've just applied your solution and received below error NameError: name 'model_admin' is not defined
would u please help me?