Re: Is Django more popular than Pylons?

2009-01-28 Thread Chris Miles
On 28/01/2009, at 6:40 PM, Noah Gift wrote: . And the problems are different on Windows vs Mac vs Linux, and App Engine adds another dimension. At work people say, Half the trouble of Pylons is installing it, and I often have to help them install it in person because otherwise they

Re: moving logic from controller to model

2009-01-28 Thread Paweł Stradomski
W liście John Brennan z dnia środa 28 stycznia 2009: Here, my get_all() method works like a charm. BUT the save() method gives me this error: sqlalchemy.exceptions.InvalidRequestError: Class 'type' entity name 'None' has no mapper associated with it This would be using SA to emulate

Routes and backslashes

2009-01-28 Thread Pavel Skvazh
Is there a way (if not, is it worth adding) to tell routes to match routes with both trailing slash and without. Say to match /articles/ and /articles I have to right two identical routes just to match them both. I think i heard someone saying that supporting both is a bad practice. Just want

Re: State of Auth with Pylons

2009-01-28 Thread TJ Ninneman
Guys, I'm trying to create a ticket for this (with a patch containing my suggested implementation) at http://pylonshq.com/project/pylonshq/newticket but am getting a 404 error from ticket preview. Looks like the new site w/ Trac integration is still a WIP (Contributing and Contact

Re: Routes and backslashes

2009-01-28 Thread Ben Bangert
On Jan 28, 2009, at 6:44 AM, Pavel Skvazh wrote: Is there a way (if not, is it worth adding) to tell routes to match routes with both trailing slash and without. Say to match /articles/ and /articles I have to right two identical routes just to match them both. I think i heard someone saying

Re: Is Django more popular than Pylons?

2009-01-28 Thread Gael Pasgrimaud
Hi, I use zc.buildout to install/deploy my pylons apps. Are you guys interested in a how to install Pylons with zc.buildout ? -- Gael On Wed, Jan 28, 2009 at 7:14 PM, Ben Bangert b...@groovie.org wrote: On Jan 27, 2009, at 10:20 PM, Eric Lemoine wrote: I agree that it'd be good to have

Re: moving logic from controller to model

2009-01-28 Thread lasizoillo
2009/1/28 John Brennan jjb...@gmail.com: All the documentation I've found (pylons web site, examples, etc) tell the developer to put all this business logic in the controller and just setup a flimsy old model with the pass keyword. I myself did the same when first learning pylons. As my

Re: Is Django more popular than Pylons?

2009-01-28 Thread Wyatt Baldwin
On Jan 28, 10:31 am, Gael Pasgrimaud g...@gawel.org wrote: Hi, I use zc.buildout to install/deploy my pylons apps. Are you guys interested in a how to install Pylons with zc.buildout ? Yes, please. --~--~-~--~~~---~--~~ You received this message because you

standalone install

2009-01-28 Thread rcmn
I do not have a direct access to internet . How ever i can download from internet and make the install pkg available. I tried yesterday to change the install script ,download some package and make them available on my own machine via http with a miniwebserver. It start to work and i can probably

standalone install

2009-01-28 Thread rcmn
I do not have a direct access to internet . How ever i can download from internet and make the install pkg available. I tried yesterday to change the install script ,download some package and make them available on my own machine via http with a miniwebserver. It start to work and i can probably

Re: State of Auth with Pylons

2009-01-28 Thread Ben Bangert
On Jan 27, 2009, at 6:56 PM, Chris Miles wrote: Guys, I'm trying to create a ticket for this (with a patch containing my suggested implementation) at http://pylonshq.com/project/pylonshq/newticket but am getting a 404 error from ticket preview. Should be fine now, had a regression when I

Re: standalone install

2009-01-28 Thread Mike Orr
On Wed, Jan 28, 2009 at 10:50 AM, rcmn rcm...@gmail.com wrote: I do not have a direct access to internet . How ever i can download from internet and make the install pkg available. I tried yesterday to change the install script ,download some package and make them available on my own machine

Re: Is Django more popular than Pylons?

2009-01-28 Thread Mike Orr
On Wed, Jan 28, 2009 at 11:43 AM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Jan 28, 10:31 am, Gael Pasgrimaud g...@gawel.org wrote: Hi, I use zc.buildout to install/deploy my pylons apps. Are you guys interested in a how to install Pylons with zc.buildout ? Yes, please. Ditto.

Re: standalone install

2009-01-28 Thread rcmn
thank you for the easy_install options. Yes i'll be able to easily get them all with a firefox add-on. Thank you. Suggestion for the maintainers : 1 big zip file with a little howto in it could be handy :-) thx again. On Jan 28, 2:42 pm, Mike Orr sluggos...@gmail.com wrote: On Wed, Jan 28,

Re: moving logic from controller to model

2009-01-28 Thread John Brennan
Unfor. due to the nature of the project I cannot simply upgrade SA and Pylons (as much as I'd like to). I see the reason for having some context outside the model for transactional based approaches (like a banking system), but even then I would move stuff out of a controller and into a compact

Re: moving logic from controller to model

2009-01-28 Thread Ross Vandegrift
On Wed, Jan 28, 2009 at 02:04:38PM -0800, John Brennan wrote: Unfor. due to the nature of the project I cannot simply upgrade SA and Pylons (as much as I'd like to). I've upgraded a project through SQLObject - SA 0.3 - 0.4 - 0.5. The upgrade from 0.3 to 0.4 took me a non-trivial amount of

Re: standalone install

2009-01-28 Thread Mike Orr
On Wed, Jan 28, 2009 at 1:19 PM, rcmn rcm...@gmail.com wrote: thank you for the easy_install options. Yes i'll be able to easily get them all with a firefox add-on. Thank you. Suggestion for the maintainers : 1 big zip file with a little howto in it could be handy :-) Actually, there is

Re: moving logic from controller to model

2009-01-28 Thread Paweł Stradomski
W liście John Brennan z dnia środa, 28 stycznia 2009: @Pawel: thanks for the code on paste bin. unforunate that seems like i'm really bending the framework more than it wants.. basically id have to create a model wrapper for every model. I have about 15 models, so thats another 15

Re: Is Django more popular than Pylons?

2009-01-28 Thread Akira Kitada
That's what Guido says, and it's why we're at an impasse. Distutils is fine if you just need to download one or two packages and python setup.py install them. But that doesn't scale when a package has a dozen dependencies that recursively have dependencies. Without Setuptools, Python and

Re: Is Django more popular than Pylons?

2009-01-28 Thread Mike Orr
On Wed, Jan 28, 2009 at 3:37 PM, Akira Kitada akit...@gmail.com wrote: That's what Guido says, and it's why we're at an impasse. Distutils is fine if you just need to download one or two packages and python setup.py install them. But that doesn't scale when a package has a dozen

Re: Is Django more popular than Pylons?

2009-01-28 Thread Wyatt Baldwin
On Jan 28, 4:06 pm, Mike Orr sluggos...@gmail.com wrote: On Wed, Jan 28, 2009 at 3:37 PM, Akira Kitada akit...@gmail.com wrote: [snip] In production, I've gone to always using virtualenvs.  That way if I install a new website with different library versions, I don't have to worry about

Re: State of Auth with Pylons

2009-01-28 Thread Chris Miles
On 29/01/2009, at 7:41 AM, Ben Bangert wrote: On Jan 27, 2009, at 6:56 PM, Chris Miles wrote: Guys, I'm trying to create a ticket for this (with a patch containing my suggested implementation) at http://pylonshq.com/project/pylonshq/newticket but am getting a 404 error from ticket

Re: Is Django more popular than Pylons?

2009-01-28 Thread Jorge Vargas
On Wed, Jan 28, 2009 at 8:45 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Jan 28, 4:06 pm, Mike Orr sluggos...@gmail.com wrote: On Wed, Jan 28, 2009 at 3:37 PM, Akira Kitada akit...@gmail.com wrote: [snip] In production, I've gone to always using virtualenvs. That way if I

Re: Is Django more popular than Pylons?

2009-01-28 Thread Damjan
In production, I've gone to always using virtualenvs. Python 2.6 now supports $PYTHONUSERBASE, just set it to a directory (doesn't need to exist), for example: export PYTHONUSERBASE=$HOME/mydev/ pip.py install FormAlchemy Now I do have in ~/.pydistutils.cfg [install] user=True It's similar

Re: Is Django more popular than Pylons?

2009-01-28 Thread Mike Orr
On Wed, Jan 28, 2009 at 7:21 PM, Mike Orr sluggos...@gmail.com wrote: On Wed, Jan 28, 2009 at 7:07 PM, Damjan gdam...@gmail.com wrote: In production, I've gone to always using virtualenvs. Python 2.6 now supports $PYTHONUSERBASE, just set it to a directory (doesn't need to exist), for