old_contents: from flask import Flask, render_template
  from flask.ext.sqlalchemy import SQLAlchemy
  import os
  
  app = Flask(__name__)
  app.config.from_object(os.environ['APP_SETTINGS'])
  db = SQLAlchemy(app)
  
  # from models import *
  
  @app.route('/', methods=['GET', 'POST'])
  def index():
      return render_template('index.html')
  
  @app.route('/static/<path:filename>')
  def get_static_assets(filename):
      return send_from_directory('/static/', filename)
  
  if __name__ == '__main__':
      app.run()
  
new_contents: from flask import Flask, render_template
  from flask.ext.sqlalchemy import SQLAlchemy
  import os
  
  app = Flask(__name__)
  app.config.from_object(os.environ['APP_SETTINGS'])
  db = SQLAlchemy(app)
  
  @app.route('/', methods=['GET', 'POST'])
  def index():
      return render_template('index.html')
  
  # Sending static assets from Flask directly.
  # I'll update this to send from CDN URLs and
  # S3 URLs eventually, but this works for now.
  @app.route('/static/<path:filename>')
  def get_static_assets(filename):
      return send_from_directory('/static/', filename)
  
  if __name__ == '__main__':
      app.run()
  
subject: add some commenting about serving of static files