Skip to content

Commit

Permalink
Update configurations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aminalaee authored Nov 4, 2024
1 parent 3a15ce1 commit 1d06683
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ The metadata for the model. The options are:
* `name_plural`: Display plural name for this model. Default value is class name + `s`.
* `icon`: Icon to be displayed for this model in the admin. Only FontAwesome and Tabler names are supported.
* `category`: Category name to display group of `ModelView` classes together in dropdown.
* `category_icon`: Category icon to display.

!!! example

Expand All @@ -86,6 +87,7 @@ The metadata for the model. The options are:
name_plural = "Users"
icon = "fa-solid fa-user"
category = "accounts"
category_icon = "fa-solid fa-user"
```

## List page
Expand Down

0 comments on commit 1d06683

Please sign in to comment.