I get this error when I use a ModelChoiceFilter Select a valid choice. That choice is not one of the available choices
204 views
Skip to first unread message
DAWSON Steve
unread,
Jan 8, 2015, 5:59:58 AM1/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I am trying to let the user select a location to filter the house he want . I was able to populate the select field from the database but when I select a location I always get
this error I get this error when I use a ModelChoiceFilter Select a valid choice. That choice is not one of the available choices
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi Steve.
I can't see your issue from the code provided. Can you provide more detail? Perhaps a traceback...
DAWSON Steve
unread,
Jan 10, 2015, 2:53:41 PM1/10/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I solve the issue thanks. but is there any way to customize the forms generated by django filter i would like to add placeholder to the input text if possible