Hello all,
I use Pylons 0.9.6 with SQLAlchemy 0.4.1 and Genshi 0.4.4
I have a strange unicode dilemma ... :
- either I set sqlalchemy.convert_unicode = true in my configuration
file and url_for fails with : exceptions.Exception: url_for can only
return a string or None, got unicode instead: /ias
Sorry, got myself confused, where I said CustomLog I meant ErrorLog.
Can you summarise what works and doesn't for basic use case inside a
hello world application. Ie., what gets output to Apache error log
(and which one) for the following:
import sys
def application(environ, start_response):
How would you let your app use a subclass of cgi.FieldStorage?
I find this recipe:
http://wiki.pylonshq.com/display/pylonscookbook/Hacking+Pylons+for+handling+large+file+upload
has very good points, and I thank its author to share them. But I
simply couldn't make them work, since passing a non-de
Hi James,
I'm happy to know that I do'nt must use SAContext ... because it's non
installable, at least fo me.
I did try to follow the information of Mike Orr and samething is
changed.
Now the it seems that the 'sqlalchemy_04_driver' have some problem
with 'environ' object.
Could be I do'nt work
Hi all. I need to be able to set a style for the link I'm generating.
I use link_to to generate links. But, you can not use class as a
keyword argument :/, so I can't set a style for the generated link.
Is there a way to do this that I'm overlooking?
Thanks!
jw
--~--~-~--~~---
On Dec 20, 2007, at 8:51 AM, programmer.py wrote:
>
> Hi all. I need to be able to set a style for the link I'm generating.
>
> I use link_to to generate links. But, you can not use class as a
> keyword argument :/, so I can't set a style for the generated link.
>
> Is there a way to do this t
Primco,
The main reason I'm looking at something other than paster to host
the application on Windows because of some issues I seem to be
encountering in paster (preferrably IIS as I know I wouldn't be able
to use Apache do to the way IT runs things around here). I'm not sure
if its a timeout i
Thanks! In the faq, err how embarrasing I didn't look there first :/.
jw
On Dec 20, 11:17 am, Philip Jenvey <[EMAIL PROTECTED]> wrote:
> On Dec 20, 2007, at 8:51 AM, programmer.py wrote:
>
>
>
> > Hi all. I need to be able to set a style for the link I'm generating.
>
> > I use link_to to gene
Hi James,
Yes. I have modified sqlalchemy_driver.py file to use SqlAlchemy 0.4. Do you
have the unit tests for sqlalchemy_driver?. Please spot me the location, I
would give a try. I am newbie to pylons, sqlalchemy, have little
programming experience in Python itself. Whatever I have done MAY NOT
On Dec 20, 2007, at 2:53 AM, Julien Cigar wrote:
I use Pylons 0.9.6 with SQLAlchemy 0.4.1 and Genshi 0.4.4
I have a strange unicode dilemma ... :
- either I set sqlalchemy.convert_unicode = true in my configuration
file and url_for fails with : exceptions.Exception: url_for can only
return a st
Hi Lythoner,
> Yes. I have modified sqlalchemy_driver.py file to use SqlAlchemy 0.4.
Actually what I meant was that there is already an SQLAlchemy 0.4 driver
in there:
http://authkit.org/trac/browser/AuthKit/trunk/authkit/users/sqlalchemy_04_driver.py
It uses some experimental middleware I wro
Hi Enrico,
> Now the it seems that the 'sqlalchemy_04_driver' have some problem
> with 'environ' object.
Ahh, you've been caught out by the different API used by the 0.4 driver.
The first argument with the new API should be the WSGI environment. I
can see why this doesn't quite work in the way
As some of you know TurboGears 2 will be working very closely with
Pylons to create a more "full stack" approach to python web
development on top of the same infrastructure as Pylons. Our goal is
to make a version of Pylons which is as easy to get started with as
Django, and even more powerful.
On Dec 20, 2007 7:20 PM, Mark Ramm <[EMAIL PROTECTED]> wrote:
> I'm trying to organize a world wide virtual and in person
> TurboGears 2 sprint on the 12th and 13th of January.
That sounds cool. I put Seattle on the list for Saturday; we have an
informal sprint-or-whatever every week and can pr
14 matches
Mail list logo