{"action":"created","issue":{"url":"https://api.github.com/repos/mgood/flask-debugtoolbar/issues/91","repository_url":"https://api.github.com/repos/mgood/flask-debugtoolbar","labels_url":"https://api.github.com/repos/mgood/flask-debugtoolbar/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/mgood/flask-debugtoolbar/issues/91/comments","events_url":"https://api.github.com/repos/mgood/flask-debugtoolbar/issues/91/events","html_url":"https://github.com/mgood/flask-debugtoolbar/issues/91","id":133907071,"number":91,"title":"What endpoint in flask-debugtoolbar am i overwriting?","user":{"login":"sindhus","id":4291156,"avatar_url":"https://avatars.githubusercontent.com/u/4291156?v=3","gravatar_id":"","url":"https://api.github.com/users/sindhus","html_url":"https://github.com/sindhus","followers_url":"https://api.github.com/users/sindhus/followers","following_url":"https://api.github.com/users/sindhus/following{/other_user}","gists_url":"https://api.github.com/users/sindhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindhus/subscriptions","organizations_url":"https://api.github.com/users/sindhus/orgs","repos_url":"https://api.github.com/users/sindhus/repos","events_url":"https://api.github.com/users/sindhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindhus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-16T07:35:12Z","updated_at":"2016-02-22T12:59:39Z","closed_at":"2016-02-22T11:12:20Z","body":"```\r\n(ma)➜  flask-mega-tutorial git:(master) ✗ python runserver.py\r\nDid not find settings file settings.py for additional settings, skipping it\r\nDid not find settings file development.py for additional settings, skipping it\r\nTraceback (most recent call last):\r\n  File \"runserver.py\", line 4, in <module>\r\n    init_for('dev')\r\n  File \"/Users/sindhus/Documents/flask-mega-tutorial/myapp/__init__.py\", line 30, in init_for\r\n    toolbar = DebugToolbarExtension(app)\r\n  File \"/Users/sindhus/Documents/flask-mega-tutorial/ma/lib/python2.7/site-packages/flask_debugtoolbar/__init__.py\", line 58, in __init__\r\n    self.init_app(app)\r\n  File \"/Users/sindhus/Documents/flask-mega-tutorial/ma/lib/python2.7/site-packages/flask_debugtoolbar/__init__.py\", line 82, in init_app\r\n    '_debug_toolbar.static', self.send_static_file)\r\n  File \"/Users/sindhus/Documents/flask-mega-tutorial/ma/lib/python2.7/site-packages/flask/app.py\", line 62, in wrapper_func\r\n    return f(self, *args, **kwargs)\r\n  File \"/Users/sindhus/Documents/flask-mega-tutorial/ma/lib/python2.7/site-packages/flask/app.py\", line 984, in add_url_rule\r\n    'existing endpoint function: %s' % endpoint)\r\nAssertionError: View function mapping is overwriting an existing endpoint function: _debug_toolbar.static\r\n```\r\n\r\nThis happens when I enable the debugtoolbar. I only have / for index, /add and /delete routes.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/mgood/flask-debugtoolbar/issues/comments/187160017","html_url":"https://github.com/mgood/flask-debugtoolbar/issues/91#issuecomment-187160017","issue_url":"https://api.github.com/repos/mgood/flask-debugtoolbar/issues/91","id":187160017,"user":{"login":"mgood","id":29016,"avatar_url":"https://avatars.githubusercontent.com/u/29016?v=3","gravatar_id":"","url":"https://api.github.com/users/mgood","html_url":"https://github.com/mgood","followers_url":"https://api.github.com/users/mgood/followers","following_url":"https://api.github.com/users/mgood/following{/other_user}","gists_url":"https://api.github.com/users/mgood/gists{/gist_id}","starred_url":"https://api.github.com/users/mgood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgood/subscriptions","organizations_url":"https://api.github.com/users/mgood/orgs","repos_url":"https://api.github.com/users/mgood/repos","events_url":"https://api.github.com/users/mgood/events{/privacy}","received_events_url":"https://api.github.com/users/mgood/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T12:59:39Z","updated_at":"2016-02-22T12:59:39Z","body":"Oh glad you figured it out. What library was it? That is confusing and doesn't seem like something that should typically be done in a library for just this reason. "}}