Re: setup-app not working for composite pylons app?

2008-03-24 Thread Wichert Akkerman
Previously Mike Orr wrote: On Fri, Feb 22, 2008 at 11:06 AM, Brian Granger [EMAIL PROTECTED] wrote: We have two pylons apps that we want to combine using a composite app. One of our pylons apps has a database that needs to be setup using the standard 'paster setup-app' command. I

Re: New SQLAlchemy tutorial

2008-03-24 Thread Wichert Akkerman
Previously Mike Orr wrote: I've put a new SQLAlchemy tutorial in the Pylons official docs. http://wiki.pylonshq.com/display/pylonsdocs/Using+SQLAlchemy+with+Pylons Thanks for that tutorial. I'm running into a problem with database creation though. After following all the steps in that tutorial

Re: New SQLAlchemy tutorial

2008-03-24 Thread Wichert Akkerman
Previously Wichert Akkerman wrote: Previously Mike Orr wrote: I've put a new SQLAlchemy tutorial in the Pylons official docs. http://wiki.pylonshq.com/display/pylonsdocs/Using+SQLAlchemy+with+Pylons Thanks for that tutorial. I'm running into a problem with database creation though.

Re: testing if a url is valid ?

2008-03-24 Thread Jonathan Vanasco
On Mar 23, 11:31 pm, Mike Orr [EMAIL PROTECTED] wrote: Why? It seems intuitive to me.  The  first request doesn't know what the URL is but it knows the user shouldn't be going out of the preview section. The first request should be able to decide if it will redirect to an error, or a

WebHelpers=0.6dev

2008-03-24 Thread Mike Lowe
Where can I get a copy of WebHelpers so that I can satisfy the following dependency WebHelpers=0.6dev ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Google Summer of Code?

2008-03-24 Thread Gavin E.
I'd like to participate as a student in the Google Summer of Code 2008. Is Pylons a sponsored project? Is there any Pylons-related participation? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: WebHelpers=0.6dev

2008-03-24 Thread Ben Bangert
On Mar 24, 2008, at 11:31 AM, Mike Lowe wrote: Where can I get a copy of WebHelpers so that I can satisfy the following dependency WebHelpers=0.6dev ? Grab the latest WebHelpers source from Mercurial and run it in develop: hg clone https://www.knowledgetap.com/hg/webhelpers cd webhelpers

Re: WebHelpers=0.6dev

2008-03-24 Thread Mike Lowe
That worked quite well, thanks a lot. On Mar 24, 2:54 pm, Ben Bangert [EMAIL PROTECTED] wrote: On Mar 24, 2008, at 11:31 AM, Mike Lowe wrote: Where can I get a copy of WebHelpers so that I can satisfy the following dependency WebHelpers=0.6dev ? Grab the latest WebHelpers source from

Re: setup-app not working for composite pylons app?

2008-03-24 Thread Mike Orr
On Mon, Mar 24, 2008 at 2:16 AM, Wichert Akkerman [EMAIL PROTECTED] wrote: I get the imporession that you are talking about migration types of usage here. That is a very different problem than initial application setup and is indeed best served differently, most likely in a way that is

Re: testing if a url is valid ?

2008-03-24 Thread Mike Orr
On Mon, Mar 24, 2008 at 9:23 AM, Jonathan Vanasco [EMAIL PROTECTED] wrote: that would be ideal. url_for() doesnt seem to work like that though (maybe its because of the debug environment?) it spits back the same url i give it, or will give me a named url. its annoying. It's not the debug

Extending configuration ini files

2008-03-24 Thread mickolka
Hi all I need to run a 2 instances of same application in production environment with slightly different configs. In order to have less copy paste I'd like to be able to create a base ini file and extend it twice like production-base.ini: foo = bar baz = bar production-1.ini: baz = bad

Re: Google Summer of Code?

2008-03-24 Thread Gavin Engel
Ok, I'm dumb. I've just read that to be a SoC student, one must actually be a current student of a university. Silly me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group,

paginate with SQLAlchemy Query

2008-03-24 Thread Ross Vandegrift
Hi Everyone, I was trying to movbe some custom pagination code over to the paginate module and ran into a problem. My code look like this: v = model.sac.query(model.Vlan) ... v = v.filter_by(...) c.page = paginate.Page(v, current_page=page_nr) Paginate bounces

Re: Serving Files w/ multipart ranges

2008-03-24 Thread Ian Bicking
EricHolmberg wrote: I was trying to setup a simple patch manager for bzr (bazaar vcs) that would serve out the repository files via HTTP and handle testing, applying patches, etc. I am aware of BundleBuggy for this purpose, but want to use a file upload process instead of emails. Anyway,

Re: Google Summer of Code?

2008-03-24 Thread Mike Orr
On Mon, Mar 24, 2008 at 3:06 PM, Gavin Engel [EMAIL PROTECTED] wrote: Ok, I'm dumb. I've just read that to be a SoC student, one must actually be a current student of a university. Silly me. You can still add project ideas to the ideas page. That'll help the coders choose projects that'll

Re: Extending configuration ini files

2008-03-24 Thread Mike Orr
On Mon, Mar 24, 2008 at 2:53 PM, mickolka [EMAIL PROTECTED] wrote: Hi all I need to run a 2 instances of same application in production environment with slightly different configs. In order to have less copy paste I'd like to be able to create a base ini file and extend it twice like

Re: Serving Files w/ multipart ranges

2008-03-24 Thread EricHolmberg
Two comments + follow-up question below. Short of writing my own WSGI app that adds multipart/byteranges or using Apache to serve the files, does anyone know of Pylons-friendly solutions? It never got added to fileapp because no clients I know of do anything but the simplest range