Plugin - Filter multicast ip in DynamicModelChoiceField #10861
Answered
by
candlerb
ChrisdAutume
asked this question in
Q&A
-
Hi there, I looking to filter only multicast ip in a Form using a DynamicModelChoiceField. Do someone have an idea ? |
Beta Was this translation helpful? Give feedback.
Answered by
candlerb
Nov 7, 2022
Replies: 1 comment 1 reply
-
Try filtering on See: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ChrisdAutume
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try filtering on
parent=224.0.0.0/4
. This just checks whether the IP address is contained within the given block; you do not need to have an actual Prefix object in the database.See: