Localizing pylons app - multiple translation domain merging

2011-03-16 Thread Cezary Statkiewicz
about monkeypatching pylons.i18n.set_lang, but maybe there is a better, prettier way you know? Best regards, Cezary Statkiewicz -- Cezary Statkiewicz - ce...@thelirium.net          jabber://ce...@jabber.org              http://thelirium.net -- You received this message because you

Re: Custom action in a RestController?

2011-02-11 Thread Cezary Statkiewicz
additional routes, just add the expilict route with map.connect(). Best regards, Cezary Statkiewicz -- Cezary Statkiewicz - ce...@thelirium.net          jabber://ce...@jabber.org              http://thelirium.net -- You received this message because you are subscribed to the Google Groups

Re: How to check if the server is busy or idle

2009-05-26 Thread Cezary Statkiewicz
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 gg#5223219 jabber://ce

Re: Running a program without waiting for it to finish

2009-01-02 Thread Cezary Statkiewicz
for certain condition to run a task). Your web application would write some marker (for example a row into a db, or 'touch' a file), scheduling process would check if there are any new tasks, and fire it if necessary. Best regards, Cezary Statkiewicz -- Cezary Statkiewicz - http://thelirium.net

Re: Chance for mailer with mail injection protection ?

2008-12-28 Thread Cezary Statkiewicz
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. Best regards, CS -- Cezary Statkiewicz - http

Re: Beaker session across multiple sub-domains

2008-08-21 Thread Cezary Statkiewicz
be easier to setup. 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 the Google Groups pylons-discuss

Re: Is it possible to set title with AJAX? Or another floating text technique...

2007-09-18 Thread Cezary Statkiewicz
://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 received this message because you

Re: HTML select multiple handling

2007-09-12 Thread Cezary Statkiewicz
-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 the Google Groups pylons

Re: Too many database connections.

2007-08-27 Thread Cezary Statkiewicz
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 Statkiewicz -- Cezary

Re: Too many database connections.

2007-08-27 Thread Cezary Statkiewicz
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

Re: iframe issue

2007-08-16 Thread Cezary Statkiewicz
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 via http requests. Best regards Cezary Statkiewicz -- Cezary

Re: Pylons add-ons

2007-08-14 Thread Cezary Statkiewicz
libs (pychart, reportlab). 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 the Google

Re: Mod_python and Sessions?

2007-05-28 Thread Cezary Statkiewicz
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:

Re: Paste or Beaker sessions

2007-05-28 Thread Cezary Statkiewicz
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 version as a

Re: Paste or Beaker sessions

2007-05-28 Thread Cezary Statkiewicz
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 your WSGI

Re: 'Address already in use' error

2007-05-28 Thread Cezary Statkiewicz
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

Re: Separate access for internal and external users?

2007-02-06 Thread Cezary Statkiewicz
: return redirect_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