Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__init__() missing 1 required positional argument: 'search_help_text' #507

Open
AlexFoxalt opened this issue Mar 22, 2022 · 8 comments
Open

Comments

@AlexFoxalt
Copy link

AlexFoxalt commented Mar 22, 2022

Hello all, i have an issue with entering to edit model instance menu.

DeepinScreenshot_select-area_20220322112126

Maybe someone had the same issue?

@Rishubh03
Copy link

I am also facing the same issue.
Do you have any solution for that?

@AlexFoxalt
Copy link
Author

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:

  1. Downgrade to Django 3
  2. Get rid of JET and select smth else

@Mojtaba-saf
Copy link

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

@ZiggerZZ
Copy link

ZiggerZZ commented Apr 28, 2022

@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?

@ZiggerZZ
Copy link

My bad, I had Django 3. I upgraded to Django 4.0.1 and it works fine now!

@ZiggerZZ
Copy link

Btw just stumbled upon https://github.com/assem-ch/django-jet-reboot

@nizamializadeh
Copy link

nizamializadeh commented May 24, 2022

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]

@bhx98
Copy link

bhx98 commented Jun 16, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants