PylonsHQ.

Layout: Fixed-width

Home

Pylons Frequently Asked Questions

General Questions

Where can I read the latest version's release notes?
Where is foo documented? e.g. h.url_for()
How to add new translations to wiki?
How Do I Add Entries To The FAQ?
Warnings
What's the difference between Pylons and other popular Python frameworks (like Django and Turbogears?)
How do I know what version of Pylons is installed or required?
I've heard Pylons is a direct port of Rails, is this true?
Pylons is excellent but why didn't you put your effort into improving other projects instead?

Controllers

How do I make all actions in a controller require a user to be authenticated? (Authkit)
How do I allow an optional slash at the end of the URL?
Streaming Content to the Browser
Why do redirect_to and abort raise exceptions, instead of returning a Response?
How do I get at the raw body of an HTTP POST?
How do I get full path of the current url, including any query parameters?

Database

How can I autoload my tables with SQLAlchemy?
Why do my mapped model objects contain old data from previous requests? (SQLAlchemy)
How can I connect to multiple databases? (SQLAlchemy)
Why do I get "This Compiled object is not bound to any engine" when doing SQLAlchemy queries?

Templates

Why do I get a UnicodeDecodeError when using Mako?

Configuration

How do I access the settings in the .ini configuration file?
How do I get paster serve to use SSL?
Can I wrap lines in the .ini config file?

Helpers

How can I escape text for inclusion in HTML pages?
Why doesn't the helper (e.g. text_field) render the 'class' (or other) keyword argument I've passed to it?

Testing

How can I use "paster shell" to develop doctest tests?

Distribution

What License does Pylons use?

Troubleshooting

What are these "kill_hung_threads" or "kill_thread_limit" message in my log?
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Can I wrap lines in the .ini config file?
How can I autoload my tables with SQLAlchemy?
How can I connect to multiple databases? (SQLAlchemy)
How can I escape text for inclusion in HTML pages?
How can I use "paster shell" to develop doctest tests?
How do I access the settings in the .ini configuration file?
How Do I Add Entries To The FAQ?
How do I allow an optional slash at the end of the URL?
How do I get at the raw body of an HTTP POST?
How do I get full path of the current url, including any query parameters?
How do I get paster serve to use SSL?
How do I know what version of Pylons is installed or required?
How do I make all actions in a controller require a user to be authenticated? (Authkit)
How to add new translations to wiki?
I've heard Pylons is a direct port of Rails, is this true?
I got ValueError running setup.py somewhere in get_svn_revision()
Pylons is excellent but why didn't you put your effort into improving other projects instead?
Streaming Content to the Browser
Warnings
What's the difference between Pylons and other popular Python frameworks (like Django and Turbogears?)
What are these "kill_hung_threads" or "kill_thread_limit" message in my log?
What License does Pylons use?
Where can I read the latest version's release notes?
Where is foo documented? e.g. h.url_for()
Why doesn't the helper (e.g. text_field) render the 'class' (or other) keyword argument I've passed to it?
Why do I get "This Compiled object is not bound to any engine" when doing SQLAlchemy queries?
Why do I get a UnicodeDecodeError when using Mako?
Why do my mapped model objects contain old data from previous requests? (SQLAlchemy)
Why do redirect_to and abort raise exceptions, instead of returning a Response?
  1. Apr 10, 2007

    Max Ischenko says:

    What's the difference between the FAQ and the Cookbook? I.e. why answers on how ...

    What's the difference between the FAQ and the Cookbook? I.e. why answers on how to access configuration options or how to avoid unicode errors can't be given in a cookbook?

  2. May 22, 2007

    Mike Orr says:

    I would guess that the FAQ is for short answers. The cookbook would become hard...

    I would guess that the FAQ is for short answers. The cookbook would become hard to navigate if it had dozens of one-paragraph articles. The FAQ can also link to Cookbook articles; e.g., to emphasize troubleshooting issues that come up incessantly. New users often don't know what exactly they're looking for, so they may not realize that a certain Cookbook article addresses their issue.

  3. May 28, 2007

    Christoph Haas says:

    The FAQ is meant to provide answers for typical (newbie) questions. Like... Q: ...

    The FAQ is meant to provide answers for typical (newbie) questions. Like...

    Q: Why do I always the error "fatal gibberish in foobar module"

    A: You forgot to set the no_gibberish option in your foobar.ini


Powered by Pylons - Contact Administrators