Skip to content

Commit f7fa53a

Browse files
stefanofusaikalekseev
authored andcommitted
Improve model-admin setup instructions
1 parent 7d541ae commit f7fa53a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ Collection of useful checks for Django Checks Frameworks
3636

3737
Install with `pip install django-extra-checks`
3838

39-
Add `extra_checks` to `INSTALLED_APPS`.
39+
Add `extra_checks` to `INSTALLED_APPS` in your Django settings:
40+
```py
41+
INSTALLED_APPS = [
42+
...,
43+
"django.contrib.admin", # make sure this comes before 'extra_checks' if you plan to use the `model-admin` check
44+
"extra_checks",
45+
...
46+
]
47+
```
4048

4149
## Settings
4250

0 commit comments

Comments
 (0)