Flask-Web-App-Tutorial icon indicating copy to clipboard operation
Flask-Web-App-Tutorial copied to clipboard

Over writing

Open apat221 opened this issue 3 years ago • 1 comments

Good afternoon,

I seem to be having an issue with my code when it comes to overwriting the python portion in the authentication.py doc

"AssertionError: View function mapping is overwriting an existing endpoint function: auth.login"

I have retyped the code in anywhich way I could and followed exactly what you have said. I am at a lost for what it could be

apat221 avatar Mar 17 '22 18:03 apat221

https://stackoverflow.com/questions/30631378/flask-exception-view-function-mapping-is-overwriting-an-existing-endpoint-funct

you can check the stackoverflow article to solve your code error

summary: The functions can't have the same names , and the route cant have have the same names as well

i hope this solved your problem

bibinthomas123 avatar Jul 06 '22 16:07 bibinthomas123