ct_to('/somewhere/else')
...
class SomeController(BaseController):
def __init__(self):
BaseController.__init__(self):
self.private = True
You can mix both ways.
Best regards,
Cezary Statkiewicz
--
Cezary Statkiewicz - http:/
> Hello,
> I'm new to pylons. Started out a couple of days ago. Comming from
> django, I am attempting to move to pylons for my current project, and
> everything went smoothly until i got to the point of installing pylons
> on apache2 + mod_python.
>
> I followed the instructions on this page:
> h
2007/5/28, voltron <[EMAIL PROTECTED]>:
>
> Hi all,
>
> after a little poking around, I noticed that there are two session
> modules to use, the one in Paste and the on in Beaker. It seems that
> the one in Beaker has more features, is there a reason why Pylons does
> not not use the Beaker versio
> Really? I found no clue to this, I opened Paste.Session and found
> this:
>
> # (c) 2005 Ian Bicking and contributors; written for Paste (http://
> pythonpaste.org)
> # Licensed under the MIT license:
> http://www.opensource.org/licenses/mit-license.php
>
> """
> Creates a session object in you
netstat -lp
this will show you pid and process name
CS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe f
charts and such, look for
relevant python libs (pychart, reportlab).
Best regards
Cezary Statkiewicz
--
Cezary Statkiewicz - http://thelirium.net
rlu#280280 gg#5223219
jabber://[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this messag
ace the test1.html in public foder is working,but i need in
> templates folder.
why for? is it template or just static file?
If test1.html is a template then use it as a template - call
controller/action. otherwise it's pointless to keep it in template
folder, which is not available v
;) }
def head_style in parent.mako can be used for fallback if you won't
define it in child.
Best regards
CS
--
Cezary Statkiewicz - http://thelirium.net
rlu#280280 gg#5223219
jabber://[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received thi
2007/8/27, caffecoder <[EMAIL PROTECTED]>:
>
> sqlalchemy.exceptions.DBAPIError: (Connection failed)
> (OperationalError) FATAL: sorry, too many clients already
Check your database's settings. It seems that you have set very low
connection limit.
Best regards
Cezary St
Aww.. I've read your email once again. My suggestion was not appropriate:)
Sorry,
Cezary Statkiewicz
--
Cezary Statkiewicz - http://thelirium.net
rlu#280280 gg#5223219
jabber://[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
paste.org/class-paste.util.multidict.MultiDict.html
Best regards
Cezary Statkiewicz
--
Cezary Statkiewicz - http://thelirium.net
rlu#280280 gg#5223219
jabber://[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
ks in ajax helpers see:
http://pylonshq.com/WebHelpers/module-webhelpers.rails.prototype.html#link_to_remote
Best regards
CS
--
Cezary Statkiewicz - http://thelirium.net
rlu#280280 gg#5223219
jabber://[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You receive
return render('/mytemplate.mak')
@jsonify
def json_action(self, param1, param2):
"""
retuning jsonified structure
"""
return self.__
kie_out'] =
session.cookie[session.key].output(header='')
Note however, that this trick is pre 0.9.6. Now it might be easier to setup.
Best regards,
Cezary Statkiewicz
--
Cezary Statkiewicz - http://thelirium.net
rlu#280280 gg#5223219
jabber://[EMAIL PROTECTED]
--~--
rd) inside
.ini file and get it from configuration variables from environment.
What do you mean by mail injection protection and 'other functions'?
If you're concerned about security, remember that properly designed
application should filter user input everywhere.
Bes
help appreciated.
Hello
You can try use external scheduling process (like cron in *nix or
scheduler in windows, or simple application which would constantly
check for certain condition to run a task).
Your web application would write some marker (for example a row into a
db, or 'touch&
cally for new tasks
- if there is a new task, controller will spawn a worker for it
- worker will do the task and update task record in database
- checking location will inform that task is done
Best regards,
Cezary Statkiewicz
--
Cezary Statkiewicz - http://thelirium.net
rlu#280280
17 matches
Mail list logo