Skip to content

Conversation

@browniebroke
Copy link
Member

Note that views that have nested or list serializers for their input won't work well with the `AdminRenderer`, as the HTML forms are unable to properly support them.

**Note**: The `AdminRenderer` is only able to include links to detail pages when a properly configured `URL_FIELD_NAME` (`url` by default) attribute is present in the data. For `HyperlinkedModelSerializer` this will be the case, but for `ModelSerializer` or plain `Serializer` classes you'll need to make sure to include the field explicitly. For example here we use models `get_absolute_url` method:
!!! note
Copy link
Member Author

@browniebroke browniebroke Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one includes a code snippet:

Image

@p-r-a-v-i-n
Copy link
Contributor

Hi Bruno, I think there are still 9 files in which we should update the same

these are the files:

authentication.md, 
caching.md, fields.md,
generic-views.md,
requests.md, 
contributing.md
1-serialization.md
4-authentication-and-permissions.md
5-relationships-and-hyperlinked-apis.md

please confirm from your end

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

Successfully merging this pull request may close these issues.

2 participants