-
1
frontend validation and backend validationTimes asked 1Official solution
SimpleValidation = input rules: required, email format, length, unique. Frontend UX, backend security — dono.
Example
if not email or '@' not in email: flash('Invalid email') return redirect(request.url) if User.query.filter_by(email=email).first(): flash('Email taken')Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
2
username validate (must have @,one capital letter)Times asked 1Official solution
SimpleValidation = input rules: required, email format, length, unique. Frontend UX, backend security — dono.
Example
if not email or '@' not in email: flash('Invalid email') return redirect(request.url) if User.query.filter_by(email=email).first(): flash('Email taken')Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
3
search functionality using venue_location and tagsTimes asked 1Official solution
SimpleSearch: form/query param → ilike filter → results template.
Example
q = request.args.get('q', '').strip() lots = Lot.query.filter(Lot.name.ilike(f'%{q}%')).all()Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet