﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36340	TypeError on readonly fields	Rami Boutassghount	Rami Boutassghount	"There is a small bug in the method `AdminReadonlyField.contents` of the module `django.contrib.admin.helpers`. This method raises a `TypeError` because the calling of the `display_for_field` has not been updated. It has a new argument: `avoid_link`.


https://github.com/django/django/blob/main/django/contrib/admin/helpers.py#L296


```python
result_repr = display_for_field(value, f, self.empty_value_display)
```

"	Bug	closed	contrib.admin	5.2	Normal	invalid	admin, contrib, helpers		Unreviewed	0	0	0	0	0	0
