Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.2.1
Commits on Apr 28, 2011
  1. Fixed date in changelog.

Commits on Mar 30, 2011
  1. Prepare 0.2 release.

Commits on Jan 13, 2011
  1. I don't know what I was thinking, but actually, we can't build the urls

    ourselves, since the can't access a module's static_path (it's only
    available in encoded form as part of the routes).
    The previous version didn't pass my own tests, so why I committed this I don't know.
  2. Fixed some tests that broke due to the recent changes, and added new

    tests specifically for the new module support.
  3. Actually, it turns out that it is slightly easier to build the path

    manually, because url_for() requires an application on the stack, which
    is not guaranteed in cases where our extension is bound permanently to
    an app object (in which case it may be used outside of an request).
    So rather than pushing a dummy context on the stack and removing it
    again, simply build the path using the correct static_path property.
  4. Slightly change the behavior of Olivier's Flask module support. First,

    'url' and 'directory' behave now identically, that is, if the user sets
    a custom value, he completely disables our handling of module-specific
    paths. Previously, this was only the case for 'url', while in the case
    of setting a custom 'directory' value, it would only affect where we
    looked for global application-level static files.
    Number two, the 'url' and 'directory' do now by default not exist at
    all, rather than being None. This makes it even clearer that these
    values are not needed or used unless the user specifically opts to
    customize them.
  5. Fixed a test: The KeyError is of course not raised if the get() helper

    is used, only when indexing into the config object.
  6. Note alternative option that we're now only aware of because the

    confusion about the use of app.static_path is cleared up.
  7. Merge branch 'master' into modsupport

  8. Merge remote branch 'rs/master' into modsupport

  9. Actually, the use of static_path is incorrect here - it's the url. The

    directory the static files are served *from* is currently hardcoded in
    Flask to be 'static'.
Commits on Dec 10, 2010
  1. @rs

    Add support for Flask modules

    rs authored
Commits on Dec 7, 2010
  1. Document ues of init_app().

Commits on Dec 1, 2010
  1. Before the init_app refactor, it was not possible to override the

    default url and directory settings via the config, since the values set
    by the user were always overwritten by the Flask-Assets defaults.
    This bug is now gone, but add a regression test for it.
  2. Made a design decision to not allow global across-app defaults, as the

    previous commit supported. Now, if you do not bind the extensions to an
    application, you can basically only use the extension object within a
    request context. This is less functionality, but keeps things simpler.
Commits on Aug 24, 2010
  1. Inc to next dev version.

Something went wrong with that request. Please try again.