-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Hi Bruno, I think there are still 9 files in which we should update the same these are the files: please confirm from your end |
| ``` | ||
|
|
||
| **Note:** To exit the virtual environment at any time, just type `deactivate`. For more information see the [venv documentation][venv]. | ||
| !!! tip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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" |
Indeed. every looks great |
peterthomassen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beautiful!


Description
Following up from: