Skip to content

Commit 9b2cae4

Browse files
committed
resolve readme comments
1 parent 60d6252 commit 9b2cae4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ We can also define this with the `adminfilter_factory(..)` as follows:
142142

143143

144144
```python3
145+
from django.db.models import Q
146+
from django_adminlink.admin import adminfilter_factory
147+
145148
ARCHIVE_OPTIONS = [
146149
('active', 'Active', ~Q(archived_at__lte=Now())),
147150
('archived', 'Archived', Q(archived_at__lte=Now()))

0 commit comments

Comments
 (0)