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 a
rk in pylons 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.
> >
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,
2008/7/11 Olli Wang <[EMAIL PROTECTED]>:
> miruku is a migration toolkit for SQLAlchemy.
>
> I'm pleased to release miruku 0.1a6. There are several bugs fixed
> since 0.1a3. You may need to re-read the tutorial to adapt some not
> backward-compatible updates. If you have any suggestion or
Hello,
I started building the first form for the project yesterday, and have
decided to give tw.forms a try. Though it was a bit confusing that
there is ToscaWidgets and tw.forms, it took me a bit of time to figure
out that I didn't have the whole package to start building forms :)
A thing which
Hey guys,
I'm currently trying to figure out a standard compatible way (speak:
Reuse the code from paste/pylons) to parse the config file.
The reason for this is that I need a standalone application outside of
pylons as a supporting process, but I really would like to use the
development/test.in
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
ailing list
who 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 (
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
--~--~-~--~~~---~--~~
Y
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
Hi Mauricio,
2009/4/6 Mauricio Daniel Hoffart :
> 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 window
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
Hey Voltron,
On 5/16/07, voltron <[EMAIL PROTECTED]> wrote:
>
> Oh I did not know about that, thanks Jens. Excuse my newbiness, but
> could you explain your method further? where is site.py?
The declaration for working with encodings in Python files is
described here, in PEP 263:
http://www.pyt
Hello everyone,
Just to state it again, I'm no Pylons developer, but a Python veteran,
and the discussion about search engines caught my attention and I
thought that I might add my 2 cents to it :)
On 8/13/07, Marcin Kasperski <[EMAIL PROTECTED]> wrote:
> >> 3) What is the typical approach to g
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 relate
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 adde
> 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. I
Hi Mike,
On 19 March 2010 01:19, Mike Orr wrote:
> 1.0 is just waiting for the documentation and tests to be finished. I
> don't know the date but I'd expect it in the next 2-3 weeks. The code
> is finished; there won't be any changes from tip unless an unexpected
> bug is discovered.
>
> Lookin
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 all,
Yes, I know, I'm speaking of an ancient Pylons version there, but it
is what we are using for running two of our major applications.
The major changes in Pylons >= 0.9.7 have put us off migrating to a
newer Pylons, as it would just quite risky doing that on a live
service (not to mention
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 delivered
Hi,
On 21 July 2010 21:40, Mike Orr wrote:
> On Wed, Jul 21, 2010 at 12:33 PM, Ian Wilson
> wrote:
>> Hello,
>>
>> I think you want something like this.
>>
>> from paste.fileapp import FileApp
>>
>> # in controller
>> #...in some action, get the path to serve
>> wsgi_ap
On 22 July 2010 20:01, Mike Orr 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
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
fundamental.
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 admitt
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 bac
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 transitio
32 matches
Mail list logo