title: Python Dash: 'Dash' object has no attribute 'route'
body: <p>Working with <a href="https://plot.ly/products/dash/" rel="nofollow noreferrer">Python Dash</a> and have it working from local host, but when attempt to deploy to my python app server, I have issues. </p>
  
  <p>When I keep the app as just Flask it works with this code:</p>
  
  <pre><code>from flask import Flask
  import dash
  
  app = Flask(__name__)
  
  @app.route("/")
  def hello():
       return "Hello World!"
  </code></pre>
  
  <p>When I try to pass the server to the Dash instance (when according to Dash docs is acceptable, I receive the error).  Here is the code</p>
  
  <pre><code>from flask import Flask
  import dash
  
  server = Flask(__name__)
  app = dash.Dash(__name__, server=server)
  
  @app.route("/")
  def hello():
      return "Hello World!"
  
  
   I receiving the error:
  
  AttributeError: 'Dash' object has no attribute 'route'
  </code></pre>