작성
·
212
0
왜 에러가 발생할까요?
[ code ]
[ Error message ]
File "main.py", line 14, in <module>
@app.route("/user/<user_id>")
File "/Users/youngjae/.pyenv/versions/3.7.8/lib/python3.7/site-packages/flask/app.py", line 1315, in decorator
self.add_url_rule(rule, endpoint, f, **options)
File "/Users/youngjae/.pyenv/versions/3.7.8/lib/python3.7/site-packages/flask/app.py", line 98, in wrapper_func
return f(self, *args, **kwargs)
File "/Users/youngjae/.pyenv/versions/3.7.8/lib/python3.7/site-packages/flask/app.py", line 1284, in add_url_rule
"existing endpoint function: %s" % endpoint
AssertionError: View function mapping is overwriting an existing endpoint function: test_page