We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d6252 commit 9b2cae4Copy full SHA for 9b2cae4
1 file changed
README.md
@@ -142,6 +142,9 @@ We can also define this with the `adminfilter_factory(..)` as follows:
142
143
144
```python3
145
+from django.db.models import Q
146
+from django_adminlink.admin import adminfilter_factory
147
+
148
ARCHIVE_OPTIONS = [
149
('active', 'Active', ~Q(archived_at__lte=Now())),
150
('archived', 'Archived', Q(archived_at__lte=Now()))
0 commit comments