PylonsHQ.

Layout: Fixed-width
  Dashboard > Pylons FAQ > Home
  Pylons FAQ Log In | Sign Up   View a printable version of the current page.  
  Home
Added by Ben Bangert, last edited by Stephen Day on Sep 01, 2007  (view change) show comment
Labels: 
(None)

Pylons Frequently Asked Questions

General Questions

How Do I Add Entries To The FAQ?
How do I know what version of Pylons is installed or required?
How to add new translations to wiki?
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?
Warnings
What's the difference between Pylons and other popular Python frameworks (like Django and Turbogears?)
Where can I read the latest version's release notes?
Where is foo documented? e.g. h.url_for()

Controllers

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 make all actions in a controller require a user to be authenticated? (Authkit)
Streaming Content to the Browser
Why do redirect_to and abort raise exceptions, instead of returning a Response?

Database

How can I autoload my tables with 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?
Why do my mapped model objects contain old data from previous requests? (SQLAlchemy)

Templates

Why do I get a UnicodeDecodeError when using Mako?

Configuration

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

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

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?

Posted by Max Ischenko at Apr 10, 2007 08:37 | Permalink

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.

Posted by Mike Orr at May 22, 2007 23:11 | Permalink

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

Posted by Christoph Haas at May 28, 2007 09:42 | Permalink
Site running on a free Atlassian Confluence Open Source Project License granted to Pylons. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.3.3 Build:#645 Feb 13, 2007) - Bug/feature request - Contact Administrators

Powered by Pylons - Contact Administrators