Re: Pyramid Migration Guide, first draft

2011-02-06 Thread blaflamme
Good job Mike! On Feb 6, 12:41 am, Mike Orr wrote: > Here's the first draft of my Pyramid Migration Guide. It's an > introduction to Pyramid for Pylons 1 users, comparing the two > frameworks feature by feature. This is a first draft so it may  have > inaccuracies people will report in the next f

Re: Pyramid 1.0b3 released...

2011-01-28 Thread blaflamme
Sorry that was my fault when I updated these examples, I use tabs in all my html files. In sphinx we can set the option to use 2 spaces for tabs in an included code (by default it uses 8), but looks like to prevent bad rendering in all html examples we should use spaces everywhere. On Jan 28, 9:38

Re: Pyramid 1.0b3 released...

2011-01-28 Thread blaflamme
Mike, pylons.css is compressed so it's why spaces were stripped out. I think you actually use the first template version, you should use the latest one included in all pyramid paster templates if you want to be up-to- date. Not all browsers assign same defaults on tags so it's better to reset ever

Re: Pyramid 1.0a10 released

2011-01-20 Thread blaflamme
Yes I can add it to the docs script on pylonsproject.org if the repo is on github, I can also add the project to the Ressources links or add an Application templates links. On Jan 20, 5:49 pm, Wichert Akkerman wrote: > On 2011-1-20 19:49, Mike Orr wrote: > > > On Thu, Jan 20, 2011 at 2:43 AM, Eri

Re: pyramid terminology: "model"->"resource"

2010-12-17 Thread blaflamme
+1 for your wording Mark -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more optio

Re: @view_config and URL dispatch

2010-12-12 Thread blaflamme
You must not define the view in your route, that should work: <__init__.py> config.add_route('site1', '/site1') config.scan() @view_config(route_name='site1', renderer='templates/site1.pt') def site1_view(request): return {'foo': 'bar'} Blaise -- You received this message because you ar

Re: @view_config and URL dispatch

2010-12-12 Thread blaflamme
Yes you can, you must defin to which route name it's related: @view_config(name='my_view', context=MyModel, permission='read', route_name='site1') http://docs.pylonshq.com/pyramid/dev/api/view.html#pyramid.view.view_config Blaise -- You received this message because you are subscribed to

Re: Want to contribute - looking for task

2010-11-15 Thread blaflamme
Yes PylonsHQ website, Chris has posted it - https://github.com/Pylons/pylonshq/wiki On Nov 15, 5:24 pm, Mike Orr wrote: > On Mon, Nov 15, 2010 at 2:01 PM, blaf wrote: > > as a new comer to git (coming from mercurial) I found github help very > > easy and simple to use and understandhttp://help.