0
I’d like to make a sort of filter using Django. Imagine the following case:
- Model: user (Name, sex, age, dia_nasciemnto, mes_nascimento, etc)
- Rule: Catch all users with Sex=M and Age>20
The intention would be to generate rules from an Application and these rules would be several And and OR chained. If anyone can give me a north or tell me how they solved a problem similar to this and would be very grateful.
Your question is too comprehensive, comprehensive and/or vague questions will get answers of the same kind, so I think @Gregory’s answer is enough. The ideal would be for you to present some code and show where the doubt is.
– Sidon