1. Steve Losh
  2. flask-lesscss
  3. Issues
Issue #1 new

Static path error

created an issue

Try to use lesscss and get a "AttributeError: 'Flask' object has no attribute 'static_path'" error. Using the latest mercurial repo.



from flask import Flask, render_template app = Flask(name) from flaskext.lesscss import lesscss from flaskext.coffee import coffee lesscss(app) coffee(app)

@app.route("/hello") @app.route("/hello/<name>") def hello(name=None): return render_template("hello.html", name=name)

if name == "main": app.run(debug=True) }}}