I want to create a website in the python programming language which I am still learning.
I want some advice for a website i’d like to launch, it will probably also have data saved to MySQL but i’m open to suggestions.
I want to create a website with members, kind of like a social friends website. It will be UK based, but anyone in the world can join. Members will register and need to login to access the website. They will create a profile, fill in their age, language, location, religion, education, social habits, hobbies, etc.
Members will also fill in a form
Profiles should be invisible to all except those that the member chooses to make them visible to. To this end, the member will also fill in a form detailing their ideal social friend. This form will contain mainly drop down or other pre-set option, say check box or something.
Example
Jillian is a woman aged 35, living in Glasgow, etc. etc. She fills in a form saying her profile should be visible to men aged 32 to 45 only, who have such a hobby, who speak such a language, who live in a certain geographical location, etc. etc.
Thus, the only people who should see Jillian’s profile are those who exactly fit her criteria.
Can anyone suggest how I could go about this? I was thinking maybe using Python ‘for’ loops with ‘continue’, but maybe there is a better option.
Thank you in advance.