Fork me on GitHub

Other articles

  1. Template Search-Path Workaround

    One of the most annoying limitations you may encounter in bottle when building bigger applications is the way templates are searched on the file system. At the time the template system was designed, nobody thought about multi-app projects, third-party apps, Bottle.mount() and the complexities these features introduce. The typical …

    read more
  2. Thread-locals and Generators

    Looks like the next release (0.11) will break backwards compatibility in some edge cases. I am working on a patch that affects routes that stream content (yield) and access request/response after the first chunk of data is returned.


    Accessing the thread-local request/response objects after yielding a …

    read more
  3. Bugfix Release 0.10.10

    Python 3.2+ cgi.FieldStorage() defaults to utf8 when decoding form values. That confused bottle.FormsDict() because WSGI strings "must contain only code points representable in ISO-8859-1 encoding". Now bottle forces cgi.FieldStorage() to use ISO-8859-1 instead and re-encodes form-values on-demand with the user-specified input encoding a intended.

    If you …

    read more
  4. TAL Templates deprecated

    Andrea Belvedere found a bug in SimpleTALTemplates that went unnoticed for months. Conclusion: Nobody actually uses Bottle+TAL.

    Perhaps it is a good time to remove SimpleTALTemplate support instead of fixing it. Or move it to a plugin.

    Here is the deal: The TAL template adapter needs a maintainer or …

    read more

Page 1 / 2 »