How did you call add_template engine? If you didn't use
'pylonsmyghty' (instead of just 'myghty'), maybe you need to do that?
Also, I think you can just set the default by changing the init_app
call from 'mako' to 'pylonsmyghty'.
Dan
On 9/20/07, Robert Leftwich <[EMAIL PROTECTED]> wrote:
>
> I'
I don't know if there's anything Pylons-specific for this, but if
you're running on *nix, you can just use a cron job that runs every so
often. I think you can use the task scheduler in Windows, but I've
never tried it before.
Dan
On 8/31/07, Andrew Sayman <[EMAIL PROTECTED]> wrote:
>
> Hello e
Yes it does, since it's in the base controller.
On 8/8/07, voltron <[EMAIL PROTECTED]> wrote:
>
> Hi Jose!
>
> Now I´m confused, I thought one was supposed to delete the sessions at
> the beginning of the controller function in question, does putting
> the call in base.py eliminate the need to a
On 6/30/07, WSobczuk <[EMAIL PROTECTED]> wrote:
>
> Well, for one thing you didn't do CONFIG.push_process_config(...), so
> not everything would work.
>
> For another thing - if you change the pylons DB config then you have
> to edit your script and change it there too - so that's evil.
>
> And th
On 6/29/07, Alexandre CONRAD <[EMAIL PROTECTED]> wrote:
>
> Daniel Tang wrote:
>
> > On 6/29/07, Walter Cruz <[EMAIL PROTECTED]> wrote:
> >
> >>h.redirect_to('/')
> >>
> >>h.redirect_to('/'
On 6/29/07, Walter Cruz <[EMAIL PROTECTED]> wrote:
> h.redirect_to('/')
>
> h.redirect_to('/')
I'm pretty sure you have to return h.redirect_to, not just call it
(unlike RoR, I believe)
Dan
--~--~-~--~~~---~--~~
You received this message b
On 6/18/07, voltron <[EMAIL PROTECTED]> wrote:
>
> Could someone tell me how I should add the Paste.auth middleware to my
> middleware stack?
> The link to this middleware is:
> http://pythonpaste.org/module-paste.auth.cookie.html
>
> thanks
>
Did you try:
app = AuthCookieHandler(app)
The const
On 6/15/07, voltron <[EMAIL PROTECTED]> wrote:
>
> Is it possible to reload routes.py if it has been changed without
> restarting the paster server?
>
Use the --reload flag.
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
On 6/12/07, askel <[EMAIL PROTECTED]> wrote:
>
>
> Hello everyone,
>
> How do I access active sessions? I need to be able to update or close
> some sessions. Suppose I disable some user account and I want to close
> any active sessions of that user. Another use case is to change user
> permissions
On 6/13/07, voltron <[EMAIL PROTECTED]> wrote:
>
>
> Since both of you have AuthKit working, how does one set a session for
> an authenticated user? How do you set the REMOTE_USER? I thought of
> creating a session variable like "isauthenticated = True" but it has
> to be set after REMOTE_USER is s
On 6/12/07, kib2 <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I'm new to Pylons and even more to DataBases.
>
> I followed your tutorial on how to make a basic blog with Pylons, but
> once I launch my app I've got the following errors :
>
> File 'C:\\Documents and Settings\\kib\\Bureau\\KIB\\blogtutori
On 6/8/07, voltron <[EMAIL PROTECTED]> wrote:
>
>
> I´m sorry, I meant "tables" not databases...
>
>
> >
>
There's a table_iterator() method for MetaData objects, I think you can
iterate through and then call .create() on the table after prompting for
each one.
Dan
--~--~-~--~~--
On 6/7/07, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote:
>
>
> > Also, for static resources, like images or CSS files that actually are
> > on the proxy server proxying for the Paster server, how can I pass a
> > sort of "/media" path to my templates that would always be resolved no
> > matter how
Hi all,
I discovered some interesting behavior when using Pylons on WebFaction. For
some very odd reason that I can't discern, whenever I run paster inside of a
Pylons command, even if I don't pass any arguments, it launches gconfd-2.
Normally, I wouldn't notice, but WebFaction limits the number
14 matches
Mail list logo