Re: Will Pyramid switch to Python 3?

2011-01-26 Thread Jan Koprowski
Nice to know. Thanks a lot. Regards, Jan Koprowski -- 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 from this group, send email to pylons-discus

Will Pyramid switch to Python 3?

2011-01-25 Thread Jan Koprowski
Hi, In he light of recent events: PEP was accepted, mod_wsgi support WSGI for Python 3 for a while and Python 3.2 stabilizes WSGI stuff on Python 3 line, Pyramid will get a fork or branch or even switch to Python 3? Greetings from Poland! -- Jan Koprowski -- You received this message

Re: Beginner question - Help with Pylons MVC

2010-11-11 Thread Jan Koprowski
:Note:::this only prints it to console > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to pylons-disc...@googlegroups.com. > To unsubscribe from this group, send email to >

Re: is it worth using Django for admin and rest of the app in pylons

2010-10-30 Thread Jan Koprowski
from this group, send email to > pylons-discuss+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- ><> Jan Koprowski -- You received this message because you are subscribed to the Go

Re: Is the config accessible from the model?

2010-10-26 Thread Jan Koprowski
To post to this group, send email to pylons-disc...@googlegroups.com. > To unsubscribe from this group, send email to > pylons-discuss+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- ><>

Re: Pystache

2010-05-13 Thread Jan Koprowski
All is in documentation: http://pylonsbook.com/en/1.1/using-view-templates.html#behind-the-scenes On May 13, 12:35 am, Yang Zhang wrote: > Has anybody integrated the Pystache (mustache) templating engine into > Pylons? How hard is it to integrate new templating languages like this > one? > -- > Y

Re: Set FormEncode translation while hosting as mod_wsgi

2009-05-28 Thread Jan Koprowski
You for this link. I ask my Administer guru and i add "exports" directives to /usr/local/sbin/enwars witch inject this variables to apache while runing so whole apache take this variables at all :] I hope other users sites doesn't hurt for this :) Greetings from Poland -- Jan Koprowski -

Re: deploying a buildout-based pylons instance using mod_wsgi?

2009-05-28 Thread Jan Koprowski
le.com/p/modwsgi/wiki/IntegrationWithPylons But there is important modification if You wan't use loggers in Pylons under mod_wsgi described here: http://groups.google.com/group/pylons-discuss/browse_thread/thread/9b9add4529b3779c Greetings from Poland ! -- Ja

Set FormEncode translation while hosting as mod_wsgi

2009-05-27 Thread Jan Koprowski
h solutions is Pylons solution ? Greetings from Poland ! -- Jan Koprowski --~--~-~--~~~---~--~~ 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@googleg

Re: Can't use auth_tkt.set_user after turn off authkit

2009-05-25 Thread Jan Koprowski
On 23 Maj, 13:28, Jan Koprowski wrote: > Hi ! > >   I try make authkit transparent in test environment by set in > test.ini authkit.setup.enable = false but after that I get KeyError in > line where i login (i do this by myself) request.environ > ['paste.auth_tkt.set_use

How test login process in authkit ?

2009-05-25 Thread Jan Koprowski
this process. I don't know what I sholud do now. I also think about use authkit.cookie.nouserincookie = true But I red that this option break compatible with paste - so I don't know how i could set value of "REMOTE_USER" by my own :D when request.environ['paste.auth_tkt.set_user&#

Can't use auth_tkt.set_user after turn off authkit

2009-05-23 Thread Jan Koprowski
th this ? Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ 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: Where else store user password while using app

2009-05-23 Thread Jan Koprowski
On 23 Maj, 04:21, Jan Koprowski wrote: > On 23 Maj, 02:59, "Alice Zoë Bevan-McGregor," > wrote: > > > Howdy! > > > Quite popular is Blowfish or AES encrypting data stored in cookies   > > allowing you to store data without the risk of tampering or   &g

Re: Where else store user password while using app

2009-05-22 Thread Jan Koprowski
  > data is not tampered with. > > This is also fully capable of being used in unit testing. > > - Alice. Is authkit encryption settings for cookies enough ? -- Jan Koprowski --~--~-~--~~~---~--~~ You received this message because you are subscrib

Where else store user password while using app

2009-05-22 Thread Jan Koprowski
current user passwor must be stored somewhere - currently in session. Any propositions ? Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to

Re: How display options select field in given order ?

2009-05-22 Thread Jan Koprowski
On 22 Maj, 23:54, Philip Jenvey wrote: > On May 22, 2009, at 2:31 PM, Jan Koprowski wrote: > > > > > Hi ! > > > How I can display options elements in select field exactly in this > > same order as I wrote it in dictionary ? > > Assuming you're using

How display options select field in given order ?

2009-05-22 Thread Jan Koprowski
Hi ! How I can display options elements in select field exactly in this same order as I wrote it in dictionary ? Greetings from Poland ! -- Jan Koprowski --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "p

Re: No secure_form token after use htmlfill.render with defaults.

2009-05-21 Thread Jan Koprowski
416 I hope this help someone. Greetings from Poland ! -- Jan Koprowski --~--~-~--~~~---~--~~ 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@googlegro

Re: How setup (I guess) Pylons routes when app run under WSGIAlias /something

2009-05-21 Thread Jan Koprowski
I don't know how I can Add ticket on http://authkit.org/trac/newticket#preview ? The problem is: Values like: * authkit.redirect.url * authkit.signin * authkit.cookie.signout set in *.ini file is still static URLs. This mean when I move my application from some.address.com/ to (for example) addr

Re: How setup (I guess) Pylons routes when app run under WSGIAlias /something

2009-05-20 Thread Jan Koprowski
controller/action Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ 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 u

Re: No secure_form token after use htmlfill.render with defaults.

2009-05-20 Thread Jan Koprowski
Problem is still present in other form. When I send form fill with bad values and get errors second sumbition (with correct values) have _authentication_token value empty witch produce 403 CSRF attack response :| I doesnt have any ideas what I can do more. Greetings from Poland ! -- Jan

Re: How setup (I guess) Pylons routes when app run under WSGIAlias /something

2009-05-19 Thread Jan Koprowski
ike: @authorize(CustomUser()) def index(self): so there is authkit now move me to redirect URL # Authkit configuration authkit.signin = /account/signin authkit.setup.method = redirect authkit.redirect.url = /account/signin How configure prefix in authkit or something like that

Re: No secure_form token after use htmlfill.render with defaults.

2009-05-19 Thread Jan Koprowski
On 19 Maj, 11:19, Marius Gedminas wrote: > On Mon, May 18, 2009 at 09:33:53PM -0700, Jan Koprowski wrote: > > On 18 Maj, 22:58, Marius Gedminas wrote: > > > Try passing force_defaults=True to htmlfill.render(). > > > Nothing. _authentication_token field is stil

Re: No secure_form token after use htmlfill.render with defaults.

2009-05-18 Thread Jan Koprowski
On 18 Maj, 22:58, Marius Gedminas wrote: > Try passing force_defaults=True to htmlfill.render(). Nothing. _authentication_token field is still empty. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discus

Re: How setup (I guess) Pylons routes when app run under WSGIAlias /something

2009-05-18 Thread Jan Koprowski
Not exactly. I have problem on the begining. after i write server.com/ something i am rewritng to server.com/controller/actionname -> after i fix this in url all work good. Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ You received this mess

No secure_form token after use htmlfill.render with defaults.

2009-05-18 Thread Jan Koprowski
-- site source - site source - Is this a bug or it is normally and i should just do worakround and get some random "string" in controller for info._authentication_token by my own and do all this strange st

Re: How setup (I guess) Pylons routes when app run under WSGIAlias /something

2009-05-18 Thread Jan Koprowski
prefix, and if you're sure you won't encounter the same problem > with other static resources in your app's public/ subdir. Your idea really hit the bull's-eye. For me (so far) add h.url_for to h.image, h.link_to, h.stylesheet_link and url_for to redirect_to h

How setup (I guess) Pylons routes when app run under WSGIAlias /something

2009-05-18 Thread Jan Koprowski
I use mod_wsgi 2.5 under Apache 2. My WSGI applications is in /home/username/public_wsgi/wsgi/myapp.wsgi where public_wsgi is directory where i have production.ini file. My myapp.wsgi file looks like follows: -- myapp.wsgi -- WORKING_ENV = "/home/username/public_wsgi" APP_

Re: Can't use TimedRotatingFileHandler as handler

2009-04-20 Thread Jan Koprowski
On Apr 21, 6:51 am, John Dickson wrote: > Hi Jan > > You need to include the package in the handler class: > >     class = logging.handlers.TimedRotatingFileHandler > > Cheers ... JD Works grate ! Thank You ! I don't find this in Pylons/Python documentation. --~--~-

Can't use TimedRotatingFileHandler as handler

2009-04-20 Thread Jan Koprowski
-1.7.3- py2.5.egg/paste/script/util/logging_config.py", line 95, in _resolve found = __import__(used) ImportError: No module named TimedRotatingFileHandler - cut here - What's wrong ? Pylons 0.9.7 P.S. I still can import this handler from python console: f

How load fixtures before all test and drop after all

2009-04-18 Thread Jan Koprowski
. Two questions: 1) Is there any solution to load data before test and drop after once at all test process 2) Pylons still use paster.fixture - is there any plan to change this to fixture from farmdev ? Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ You rec

Re: Manual sign in with AuthKit

2009-02-05 Thread Jan Koprowski
code -- If you want login user you do that in simple action controller where you send data from form like: login or password or wathever you want. Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ You received this message because you ar

Re: clean up after session finished

2009-02-05 Thread Jan Koprowski
"onunload" JavaScript event so if sevi assume that JavaScript is present they can run AJAX method to delete images. This isn't 100% working concept but may not be bad. Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ You received thi

Re: docs.pylonshq.com - tires my eyes

2009-01-24 Thread Jan Koprowski
Grate :) thank you ! --~--~-~--~~~---~--~~ 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 from this group, send email to pylons-d

Re: docs.pylonshq.com - tires my eyes

2009-01-24 Thread Jan Koprowski
On 24 Sty, 07:31, Ben Bangert wrote: > Funny, I've heard the opposite from other people (the Sphinx docs made   > them puke, etc). Having two spots for the docs is bad, especially   > since only one has commenting available, it also separates where   > Google and others send users (also not goo

docs.pylonshq.com - tires my eyes

2009-01-23 Thread Jan Koprowski
aving docs.pylonshq.com Sphinx originally isn't a bad idea. Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send ema

Re: SQLAlchemy models isn't abstract layer / data model

2009-01-21 Thread Jan Koprowski
On 21 Sty, 20:28, Jan Koprowski wrote: > On 21 Sty, 18:53, Ross Vandegrift wrote: > > > It seems like you're putting a square peg in a round hole. > > I don't think so. My goal is just to made abstraction layer and this > forces me to wrap Session. Thats all

Re: SQLAlchemy models isn't abstract layer / data model

2009-01-21 Thread Jan Koprowski
On 21 Sty, 18:53, Ross Vandegrift wrote: > It seems like you're putting a square peg in a round hole. I don't think so. My goal is just to made abstraction layer and this forces me to wrap Session. Thats all. Methods line def add() wher i use add and session method one by another doesn't give

Re: SQLAlchemy models isn't abstract layer / data model

2009-01-21 Thread Jan Koprowski
w__(cls, *args, **kwargs) IMHO this could be standard for all classes (why not). I understood this SQLAlchemy forces you to write your own class methods wrap meta.Session - but this isn't cool :P because i waste my time :P Greetings from Poland -- Jan Koprowski --~--~-~--~~-

SQLAlchemy models isn't abstract layer / data model

2009-01-20 Thread Jan Koprowski
bstract layer, hiding meta.Session inside, in methods. But this is extra job for programmer - doesn't sounds nice :| What do You think about this ? Greetings from Poland -- Jan Koprowski --~--~-~--~~~---~--~~ You received this message because you are subscribe

Chance for mailer with mail injection protection ?

2008-12-22 Thread Jan Koprowski
Hi ! Is there any chance to see mailer functions (or any other implementation) in Pylons. I think that some "library" responsible for safty mail sending (with mail injection protection and some other functions) is a good idea. Greetings from Poland ! -- Jan

Re: Where is secure_button_to in new WebHelpers 0.6.1

2008-10-12 Thread Jan Koprowski
On Oct 12, 10:11 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: > On Sun, Oct 12, 2008 at 6:45 AM, Jan Koprowski <[EMAIL PROTECTED]> wrote: > > > Hi ! > > >   I am unsurprised to CSRF security generators. I can't find anywhere > > secure_do_b

Where is secure_button_to in new WebHelpers 0.6.1

2008-10-12 Thread Jan Koprowski
Hi ! I am unsurprised to CSRF security generators. I can't find anywhere secure_do_button. Last implementation is in rails module which is deprecated. Any idea ? Greetings from Polan ! Jan Koprowski --~--~-~--~~~---~--~~ You received this message becaus