In case you missed this wiki tutorial and several cook book recipes using SQLAlchemy.
http://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki2/index.html http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/ --steve On 9/8/13 at 8:18 PM, [email protected] (jdarais) pronounced: > Hi, > > I'm fairly new to Pyramid. I followed the tutorial for creating a new > project, and at the time I wasn't sure what type of DB I would be using, so > I just used the "starter" scaffold when creating my project. Now, it turns > out I do want to use SQLAlchemy, and I'm not sure what the best way would > be to add SQLAlchemy to my current project. I suppose I could add it in > manually by editing the right files, adding imports and configuration, but > this seems like a bit of a pain, and I'd probably miss something that the > scaffold would otherwise take care of for me. I wasn't able to find any > documentation that described specifically what the 'alchemy' scaffold does > for you, or the best way to set up SQLAlchemy manually. > > Is it possible to run a 'pcreate' command for an existing project? > > Would I be best off just creating a new, empty project with the 'alchemy' > scaffold, and copying my old code into it? > > Any advice would be much appreciated. > > Thanks, > Jeremiah > > ------------------------ Steve Piercy, Soquel, CA -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
