views.py
def CSVcreation():
    """This functions allows to access to page for the creation of csv"""
    if "logged_in" in session and session["logged_in"] == True:
        print("User login", session["username"])
        try:
            count1 = managedb.getCountLoginDB(session["username"])
            if count1 == 0:
                return redirect(url_for('index'))
            return render_template('CSVcreation.html',data=data)
        except Exception as e:
            print("Error DB:",str(e))
            return redirect(url_for('index'))
    return redirect(url_for('index'))
This functions allows to access to page for the creation of csv
This functions allows to access to page for the creation of csv
This functions allows to access to page for the creation of csv
def CSVcreation():
    if "logged_in" in session and session["logged_in"] == True:
        print("User login", session["username"])
        try:
            count1 = managedb.getCountLoginDB(session["username"])
            if count1 == 0:
                return redirect(url_for('index'))
            return render_template('CSVcreation.html',data=data)
        except Exception as e:
            print("Error DB:",str(e))
            return redirect(url_for('index'))
    return redirect(url_for('index'))
def CSVcreation ( ) : if "logged_in" in session and session [ "logged_in" ] == True : print ( "User login" , session [ "username" ] ) try : count1 = managedb . getCountLoginDB ( session [ "username" ] ) if count1 == 0 : return redirect ( url_for ( 'index' ) ) return render_template ( 'CSVcreation.html' , data = data ) except Exception as e : print ( "Error DB:" , str ( e ) ) return redirect ( url_for ( 'index' ) ) return redirect ( url_for ( 'index' ) )
This functions allows to access to page for the creation of csv
This functions allows to access to page for the creation of csv
"""This functions allows to access to page for the creation of csv"""