1👍
✅
I finally got it working this way:
list(App.objects.filter(admins__email__regex='.').values('admins__email'))
although I find it odd that __exact=''
is not working. seems like a Django bug to me.
👤Sin
- [Answered ]-Custom Managers and "through"
- [Answered ]-Django, MySQL and regex: not supporting re syntax?
- [Answered ]-Adding more associations with foreign key
- [Answered ]-Extending class, date based generic views in django and get_context_data?
- [Answered ]-Django FormWizard Dynamically Alter form_list
Source:stackexchange.com