title: Flask URL routes using blueprint are not working, return 404 http code
body: <p>I am facing a problem with flask url routing; it seems routes are not working as expected.</p>
  
  <ol>
  <li><p>Under <code>project/src/views.py</code>, I have the following sample routes </p>
  
  <pre><code>from flask import (Flask,request,jsonify,Blueprint)
  my_view = Blueprint('my_view', __name__)
  
  @my_view.route('/',methods=("GET",))
  @my_view.route('/index',methods=("GET",))
  def index():
      ....
      &lt;return response code here&gt; 
  
  @my_view.route("/key/&lt;inp1&gt;/&lt;inp2&gt;", methods=("POST","GET"))
  def getKey(inp1=None, inp2=None):
      ....
      &lt;return response code here&gt;
  </code></pre></li>
  <li><p>Now, under <code>project/src/app.py</code>, I have the following code</p>
  
  <pre><code>from ../src.views import my_view 
  
  my_app = Flask("myappname")
  my_app.register_blueprint(my_view)
  my_app.run(debug=True,host=APP_IP,port=APP_PORT)
  </code></pre></li>
  </ol>
  
  <p>Now, when I access the URL <code>http://ip:port/index</code> or <code>http://ip:port/key...</code> with valid parameters, it returns 404, with the message "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again." I believe mentioned routes are not working.</p>