Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Style notes using admonition in the documentation#9846

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
browniebroke merged 3 commits intoencode:mainfrombrowniebroke:docs/admonition-notes
Dec 12, 2025

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
MemberAuthor

@browniebrokebrowniebrokeDec 9, 2025
edited
Loading

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.md1-serialization.md4-authentication-and-permissions.md5-relationships-and-hyperlinked-apis.md

please confirm from your end

browniebroke reacted with thumbs up emoji

```

**Note:** To exit the virtual environment at any time, just type`deactivate`. For more information see the[venv documentation][venv].
!!! tip
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Here is how "tip" are styled

Image

p-r-a-v-i-n reacted with heart emoji
@browniebroke
Copy link
MemberAuthor

browniebroke commentedDec 10, 2025
edited
Loading

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

Thanks Pravin, not sure how I missed these. There was also a few more which I've also updated.

I've also added a "tip" style which is sometimes a bit more appropriate than "note"

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

I've also added a "tip" style which is sometimes a bit more appropriate than "note"

Indeed. every looks great

Copy link
Collaborator

@peterthomassenpeterthomassen left a comment

Choose a reason for hiding this comment

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

beautiful!

@browniebrokebrowniebroke merged commite221d9a intoencode:mainDec 12, 2025
7 checks passed
@browniebrokebrowniebroke deleted the docs/admonition-notes branchDecember 12, 2025 11:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@peterthomassenpeterthomassenpeterthomassen approved these changes

@auvipyauvipyAwaiting requested review from auvipy

+1 more reviewer

@p-r-a-v-i-np-r-a-v-i-np-r-a-v-i-n left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@browniebroke@p-r-a-v-i-n@peterthomassen

[8]ページ先頭

©2009-2025 Movatter.jp