Well, I asked before search the in the list archives!
What I needed:
tmpl_options['mako.input_encoding'] = 'UTF-8'
tmpl_options['mako.output_encoding'] = 'UTF-8'
tmpl_options['mako.default_filters'] = ['decode.utf8']
request_settings = dict(charset='utf-8', errors='replace')
On Sun, Jul 01, 2007 at 11:27:38AM -0300, Walter Cruz wrote:
Well, I asked before search the in the list archives!
Sorry, no. If you like to continue the topic you brought up with another
thread then please use the other thread. I didn't follow the other
thread. If you start a new thread then I
I added a database defintation, class and mapper to my project, I then
called :
paster setup-app development.ini
now I´m getting this:
D:\Projects\Pylons_projects\testsitepaster setup-app development.ini
Traceback (most recent call last):
File C:\Python24\Scripts\paster-script.py, line 7, in
Hello,
I've never worked with python, and most of my recent web-dev has
involved Rails. I'm currently looking for alternative web frameworks
and Pylons seems like a pretty good choice (been looking at django and
TG also). The main reason for moving away from Rails is Ruby's speed
and Rails' lack
im going to see if i can put property magic into query so it will be
like myclass.query.filter_by(foo).all() (i.e. you wont need to call it
as a function).
SA 0.4 is going to be decidedly slightly more opinionated in several
areas, and im going to try to have a lot of those opinions expressed
in
On Jul 1, 2007, at 4:44 PM, Michael Bayer wrote:
im going to see if i can put property magic into query so it will be
like myclass.query.filter_by(foo).all() (i.e. you wont need to call it
as a function).
Since there's table.c and myclass.c, for the sake of argument, how
about
without the flush method I'm not to sure that assignmapper saves much in
the way of code, when adding stuff to a database. I do admit I do like
the simplified syntax that assignmapper affords you for doing qurery's,
and if we are going to keep it with with a query properties that sounds
great to
I just read Micheaael's note on what is changing in version 0.4. A must
read or all of us using sqlalchemy
jsoe
Jose Galvez wrote:
without the flush method I'm not to sure that assignmapper saves much in
the way of code, when adding stuff to a database. I do admit I do like
the simplified