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

Is it possible to use changes_display_dict without truncation/ellipsis? #633

Open
Tom5421 opened this issue Apr 21, 2024 · 1 comment
Open

Comments

@Tom5421
Copy link

Tom5421 commented Apr 21, 2024

I'm currently building a history view for my app and I've come across a situation where I would like to display the history logs using the changes_display_dict method however I also need to be able to see the full history for these fields (not getting capped after 140 characters).

Any help would be appreciated.

Thanks
Tom

@hramezani
Copy link
Member

hramezani commented Apr 21, 2024

Thanks @Tom5421 for this feature request.

As you mentioned, changes_display_dict only returns the first 140 chars.
I think we can make a configuration for that and then the user can config how many chars will be shown or even disable it

Now, you can override changes_display_dict on your model and copy the implementation and change the limitation

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

No branches or pull requests

2 participants