I´m generating links with a loop and url_for(), sadly , this does not
work:
# c.links is a list
% for url in c.links:
a href=h.url_for(${url}${url}/a
% endfor
I get a traceback with encoding errors
What would be the right way to do this?
Thansk
On Jun 2, 2007, at 8:29 AM, voltron wrote:
I´m generating links with a loop and url_for(), sadly , this does not
work:
# c.links is a list
% for url in c.links:
a href=h.url_for(${url}${url}/a
% endfor
I get a traceback with encoding errors
What would be the right way to do
Hi,
I'd like to deploy my app with mod_wsgi. I thought I had it working,
but then realised that the images weren't working. The action for an
image is really simple:
def image(self, id):
image = self.session.query(Image).get(int(id))
return Response(image.image,
I tried using subdirectories to render templates in PYlons:
return render_response(/main/'standard.html)
this failed, how does one pass templates from other directories or
subdirecotires?
Also, for static resources, like images or CSS files that actually are
on the proxy server proxying for
On Fri, Jun 01, 2007 at 03:15:19PM -0700, Ben Bangert wrote:
On Jun 1, 2007, at 11:11 AM, Mike Orr wrote:
The introduction can be improved, certainly. I wasn't here when
Pylons was started or the website was created, but my sense is that
Pylons has evolved since then. Its first adherents
In the graphic design business, logos are known as business
identities. They are pretty important, companies spend a fortune on
them and there are a whole bunch of different methodologies used to
get a 'good' identity. That being said, it really is more of an art
and it would be difficult to get
Why is it called Pylons anyway? I thought a pylon was a large metal
beam (girder), so as a building block it made sense. But
dictionary.com says it means a tower. Here are all the definitions,
which include some visual ideas we haven't tried. Ancient Egyptian
theme, anyone?
What is the actual traceback dumped out to the Apache error log file
if any?
What other error messages appear immediately prior to the traceback?
Did you restart Apache to pick up your code change before testing
again?
Graham
On Jun 3, 2:56 am, Graham Stratton [EMAIL PROTECTED] wrote:
Hi,