On 5/16/07, voltron [EMAIL PROTECTED] wrote:
Hi Steve, this is good information as it is a good workaround for the
problem that I have been having with my Mako templates with
Umlauts( see thread
http://groups.google.com/group/pylons-discuss/browse_thread/thread/4d278dee35c62519)
I´m just
You might want to take a look here:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/4d944dc3c85346d5/70948f9c90994de0
This actually a quite common python problem, if this doesn't resolve
your issues, you may look in the group for unicode or utf-8. It is
almost certainly
Hello,
On 9/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Issuing an os.chdir(/path/to/pylons) fixed the problem although I am
not sure if this is the best solution or not. If there any suggestions
on how to make this work better, I would really appreciate it.
I think you need to add
as well.
Regards,
Jens
On 9/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Sep 11, 4:57 am, Jens Hoffrichter [EMAIL PROTECTED]
wrote:
I think you need to add the pylons path to the library paths in python.
I normally do something like this:
import sys
sys.path =
I had done
Hi everyone,
I'd like to chime in this discussion and adding my personal 2 cent to it.
Warning: Lengthy response coming up, and not only for pylons, but also
for general python dev
First of all, choose of editor is very much a choice of personal
preference and sometimes even a religious thing
Hi all,
Finally I will be getting around to build a proof of concept, for a
project I will be working on, in pylons. So after all those mails from
me with: I don't know pylons, just python, this might be a real
change ;)
I have started looking into what I will really need for the project,
and
Hello Jonathan,
2008/7/21 Jonathan Vanasco [EMAIL PROTECTED]:
php is a templating language. all that stuff is written in c and is
optimized. php is WAY faster at variable interpolation than python,
perl, everything else.
templates are a small fraction of your 'business logic'. 95% of
have been helpful and discussed with me a lot during the whole
time doing the implementation.
Regards,
Jens Hoffrichter
Manager Engineering Development
--
p-square oHG - smart programming for smart people
Schultesche Heide 23 - D-44807 Bochum
phone +49 (0)234 5164848 - fax +49 (0)234 5164849
www.p
If you modify the signature of the __call__ method in the BaseController to
def __call__(self, action):
you have it right there, and can check all you want :)
That is how I do that exactly in my home brewn authentication ;)
Regards,
Jens
--~--~-~--~~~---~--~~
I'm pretty sure I read that in some sort of pylons documentation.
I'm really trying to remember where it is, I think it was in a
discussion on AuthKit vs. some home-brewn stuff. The pylonsbook has
something similar there, but it looks different
Ah well, I hope it helped :)
Jens
Hello all,
2008/12/6 Lawrence Oluyede [EMAIL PROTECTED]:
On Sat, Dec 6, 2008 at 2:36 PM, Jorge Vargas [EMAIL PROTECTED] wrote:
That said I really think a JS wrapper in JS is better than a JS
wrapper in python or whatever language for that matter. Any DSL which
is pretty much what all the
Hi Mauricio,
2009/4/6 Mauricio Daniel Hoffart maud...@gmail.com:
I am new to pyton
I am trying to use Pylons + Dojo and I am having trouble calling a control
with multiple parameters. What is an example of that?
Thanks a lot
Ex:
Mmmh, I'm not sure this is the right question to ask, but as you don't
mention it in your mail: Why don't you just take a binary installation
from mysql-python.sourceforge.net? Either the precompiled .egg or the
setup binary - that worked for me everytime I worked with mysql and
python on a
Hello all,
I am currently configuring a second application in parallel to my
currently running application the .ini file.
So far, everything is running quite good, the application is running
without a problem.
But I can't seem to get logging for the second application up and
running. I have
import simplejson
json_obj = {'foo', 'bar'}
return simplejson.dumps(json_obj)
etc...
Or even simpler (at least in 0.9.6.2 - not sure if this still stands
with newer versions)
from pylons.decoraters import jsonify
class TestController(BaseController):
@jsonify
def testaction(self):
Hi all,
I know I'm probably touching a bit of a sore topic here, but I'd like
to ask what the roadmap for the 1.0 release of pylons will be.
The background for this question is not that I'm impatient, but we are
about to start one or two projects which are due to be finished in
around 3 months.
We have worked now for a couple of projects with Blueprint,
http://www.blueprintcss.org/ - I can really recommend that, it makes
the layout just so easy you don't really have to think about it,
especially if you have a grid-like layout with a fixed with (which
most of our projects have).
Jens
--
Hi everyone,
I looked into the documentation, but couldn't find any mentioning of
what I could return from an action.
I know that I can return a string, most likely rendered from a template.
Is it possible to return a file object from an action, so that the
contents of the file will be
Hi,
On 21 July 2010 21:40, Mike Orr sluggos...@gmail.com wrote:
On Wed, Jul 21, 2010 at 12:33 PM, Ian Wilson ianjosephwil...@gmail.com
wrote:
Hello,
I think you want something like this.
from paste.fileapp import FileApp
# in controller
#...in some action, get the path
On 22 July 2010 20:01, Mike Orr sluggos...@gmail.com wrote:
I think you want something like this.
from paste.fileapp import FileApp
# in controller
#...in some action, get the path to serve
wsgi_app = FileApp(path)
return wsgi_app(request.environ,
Hi everyone,
As this mailing list has proved very proficient in the past in helping
with my problems, I thought you could help me now by brain storming
for more optimizations on our production site here. I have done all
the things I can think of by now, but maybe I'm missing something
Hi all,
Thanks to especially Graham and Mike to point out what the benefit for the
end-user-developer (a crude term, I know ;) ) will be with the
Pylons2/Pyramid move.
When I started to read these posts, I was a bit concerned, too. I (we, my
company) have been long time Pylons users, and
Having a nearly-ready made CMS on top of Pylons would be the most amazing
thing likeever ;)
I have struggled too much with the shortcomings of PHP based CM systems over
the years (and I'm doing so right now, once more, with growing pains).
That much said, I would love to contribute something
Hello everyone,
The thought of having a CMS on top of Pylons/Pyramid didn't leave me alone,
and I caught myself thinking about how I would implement it, so I'm going to
throw some ideas and thoughts in the room, and hope a productive discussion
spawns from it.
First of all, I have a heave CMS
Hello everyone,
I have already (though infrequently) posted to this mailing list, but just
to give a short overview of myself: I have been developing in Python for
nearly 10 years now, have written big and small web applications using
Myghty and Pylons. In Pylons, I have made the upwards
25 matches
Mail list logo