Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Redirect to the same page and display a message if user insert wrong data

@app.route('/NewRoom', defaults={'error':''})
@app.route('/Newroom/<error>')
def newRm():
    return render_template('NewRoom.html')
 
PREVIOUS NEXT
Tagged: #Redirect #page #display #message #user #insert #wrong #data
ADD COMMENT
Topic
Name
8+3 =