Skip to content

Commit

Permalink
docs: mention admin decorators in Django 3.2+.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngnpope committed Apr 6, 2021
1 parent 8b175ac commit 7b0fe54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

Simplifies the use of function attributes (eg. `short_description`) for the django admin and makes mypy happy :)

**Note:** Django 3.2+ has [`@display`](https://docs.djangoproject.com/en/stable/ref/contrib/admin/#the-display-decorator) and [`@action`](https://docs.djangoproject.com/en/stable/ref/contrib/admin/actions/#the-action-decorator) decorators built-in.

## Requirements

* Python 3.6.1 or newer
Expand Down

0 comments on commit 7b0fe54

Please sign in to comment.