Re: ./run No such file or directory

2012-09-30 Thread Flack
You should be calling your runapp.py. run isn't supposed to be command. eg. my proc file: web: ./run.py On Sunday, September 30, 2012 9:58:28 PM UTC-4, Zak wrote: > > I'm pretty sure my runapp.py is correct...but for some reason, foreman is > not detecting the run command. Do you know what deter

Re: ./run No such file or directory

2012-09-30 Thread Flack
I use the following template for running pyramid apps on heroku. https://github.com/bcajes/pyramid-heroku-template On Sunday, September 30, 2012 1:41:32 PM UTC-4, Zak wrote: > > I'm trying to run a Pyramid app with Heroku's Foreman (via the these > instructions from the Pyramid > docs

Deform autocomplete tag sequence widgets?

2011-07-29 Thread Flack
Hello, I would like to have a tag widget similar to http://levycarneiro.com/projects/tag-it/example.html. Before I attempt to make this plugin work with Deform, does anyone know of an existing example available that already implements this type of widget in Deform? It seems to be a common way fo

Re: how to pass objects to mako template

2011-05-30 Thread Flack
Not sure why you would want to avoid dictionary objects, but it's actually simpler imo to pass objects to mako in Pyramid. I believe you want something like: -- users.py -- @view_config(renderer='users.mako)' def index(self): users = session.query(User).all() return {'user

Re: Pyramid + MongoDB example

2011-05-28 Thread Flack
Mongodb+pyramid presentation: http://niallohiggins.com/talks/MongoSF-2011.odp And https://github.com/bcajes/Fightchart are good places to start On May 28, 4:40 pm, alvivar wrote: > I am really interested in this framework, mostly for use it with > MongoDB. I come from django so i am a little lost