On Sun, Dec 18, 2011 at 10:04 AM, rihad <ri...@mail.ru> wrote: > > > On Dec 18, 12:52 am, Gael Pasgrimaud <g...@gawel.org> wrote: >> On Sat, Dec 17, 2011 at 9:41 PM, rihad <ri...@mail.ru> wrote: >> > Is going back to 1.2 the only way to try pyramid_formalchemy out? >> >> No, you don't really need a template. You can add pyramid_formalchemy >> to a project with only a few extra lines to your __init__.py: >> >> config.include('pyramid_formalchemy') >> config.formalchemy_admin('/admin', package='yourpackage') >> >> That's it. >> >> There is also some examples of various configuration/settings used for >> testing >> here:https://github.com/FormAlchemy/pyramid_formalchemy/tree/master/pyrami... >> > > Thanks. But what about the config.include('myapp.fainit') thing from > the doc? What does it do? I don't see it being mentioned later. The > line should probably go to __init__.py and fainit.py should be found > in the $myapp/ dir with the def includeme in it.
fainit just define the route for you. but you can check that by yourself: https://github.com/FormAlchemy/pyramid_formalchemy/tree/master/pyramid_formalchemy/paster_templates/pyramid_fa/+package+ > > -- > 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-discuss+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > -- 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-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.