From f7fa53a51ccecf57ee9043934c01bb0dff2d95c5 Mon Sep 17 00:00:00 2001 From: Stefano Fusai <46556949+stefanofusai@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:29:23 +0200 Subject: [PATCH] Improve `model-admin` setup instructions --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 742eb19..438857c 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,15 @@ Collection of useful checks for Django Checks Frameworks Install with `pip install django-extra-checks` -Add `extra_checks` to `INSTALLED_APPS`. +Add `extra_checks` to `INSTALLED_APPS` in your Django settings: +```py +INSTALLED_APPS = [ + ..., + "django.contrib.admin", # make sure this comes before 'extra_checks' if you plan to use the `model-admin` check + "extra_checks", + ... +] +``` ## Settings