Hello, Tomasz.
On Thu, Dec 11, 2008 at 9:19 AM, Tomasz Narloch toma...@wp.pl wrote:
2) Where can I put @authenticate_form?
I don't know such decorator. Haven't you confused it with @authorize?
from pylons.decorators.secure import authenticate_form
In login I create:
Previously Mike Orr wrote:
On Sun, Dec 14, 2008 at 8:38 PM, Iain Duncan iaindun...@telus.net wrote:
Hi folks, I totally do not want to start a flame war here, but was
wondering if people could give me their reasons for preferring buildout
or virtualenv for automated builds of pylons
Hello Matt,
Thanks for your response. The page I serve has a graph plus a link to
a csv file of the graph data so I can't dynamically return the data as
you suggest. The page looks like this.
htmltitledemand/title/headbody
a href=/tmp/demand.png title=/tmp/demand
img id=/tmp/demand
Hi,
Using tempfile.NamedTemporaryFile specifying this tmp directory could
be an improvement if the deletion works ok. If I don't explictly close
the file the docs say they will be closed and therefore deleted with
gc is run.
Hmm...because gc can be run at any time, there's no guarantee the
Hi,
when I try to generate the documentation for my application using
pudge i get the following error
File C:\Python25\lib\pydoc.py, line 305, in safeimport
raise ErrorDuringImport(path, sys.exc_info())
pydoc.ErrorDuringImport: problem in ajax.tests - type
'exceptions.KeyError': '__file__'
We are unfortunately still on Python 2.4, but we have brought hashlib
in (from http://pypi.python.org/pypi/hashlib ) because we needed it
elsewhere in our project.
We are seeing some strange exceptions when using paste.httpexceptions
- I'm theorizing that beaker's hashlib / sha1 / md5 usage is
I'm going through the tutorials under 0.9.7. The Flickr tutorial says
config/middleware.py should have
javascripts_app = StaticJavascripts()
...
app = Cascade([static_app, javascripts_app, app])
and a /javascripts/effects.js file. Neither are there.
I read the What's new in Pylons 0.9.7? at
I generally add my javascript files by hand to my base.mako template.
Effects.js is from scriptaculous, which is a prototype (.js) effects
framework. If you add these manually to your public folder, and add a script
tag to the pages that use them, you can forgo the need to use javascripts
Tom, thanks for google CDN tip. It looks like in 10.1 on
http://code.google.com/apis/ajaxlibs/terms.html there are no
restrictions on use for commercial applications. Is that your understanding?
Rod
Tom Longson (nym) wrote:
I generally add my javascript files by hand to my base.mako
On Mon, Dec 15, 2008 at 1:07 PM, Rod Morison r...@morison.biz wrote:
I'm going through the tutorials under 0.9.7. The Flickr tutorial says
config/middleware.py should have
javascripts_app = StaticJavascripts()
...
app = Cascade([static_app, javascripts_app, app])
and a
Yes Rod, that's my understanding. This comment from a Google employee seems
to support that opinion:
http://code.google.com/p/google-ajax-apis/issues/detail?id=50#c44
They purposely did not include the ext javascript library because of concern
for commercial users.
Tom Longson (nym)
Hi folks, I'm working on a wsgi app that I hope to eventually make
public. I'm not sure what to do about documentation, I plan on using
Sphinx for hand written docs, but don't know whether I should also use a
javadoc style tool like epydoc or doxygen, and if so, which one. If
folks could tell me
On Dec 15, 3:09 am, przemek.ch przemek...@gmail.com wrote:
Hi,
when I try to generate the documentation for my application using
pudge i get the following error
File C:\Python25\lib\pydoc.py, line 305, in safeimport
raise ErrorDuringImport(path, sys.exc_info())
On Dec 12, 7:29 am, Guillaume guillaume.tagl...@gmail.com wrote:
Hi,
I'm currently developing a set of applications, and I have one
problem. They should all reside in the same package. The package
structure should look like something like this:
mycompany/
+- models
| +-base.py
|
On Mon, Dec 15, 2008 at 6:07 PM, Wyatt Baldwin
wyatt.lee.bald...@gmail.com wrote:
On Dec 12, 7:29 am, Guillaume guillaume.tagl...@gmail.com wrote:
Hi,
I'm currently developing a set of applications, and I have one
problem. They should all reside in the same package. The package
structure
On Dec 15, 3:06 pm, Iain Duncan iaindun...@telus.net wrote:
Hi folks, I'm working on a wsgi app that I hope to eventually make
public. I'm not sure what to do about documentation, I plan on using
Sphinx for hand written docs, but don't know whether I should also use a
javadoc style tool like
16 matches
Mail list logo