On Jul 25, 2009, at 10:40 PM, Alex King wrote: > > Just starting out with a TG2 project, and I would like to manipulate > data in my DB, from paster shell. > > I am trying to set up my own username (in a project quickstarted with > authentication and authorization.) I added a user through /admin > but no > password is assigned when this is done.
Take a look at websetup.py, that will create your initial data when you run setup-app, so you shouldn't have to use the shell. But if you do want to use the shell, you can do: import transaction transaction.commit() Hope that helps. Dave Broudy Three Aspen Software 2922 Evergreen Pkwy, Suite 311 Evergreen, CO 80439 Email: [email protected] // Web: http://www.threeaspen.com Office: 303.278.0908 // Fax: 303.500.3112 AIM/YIM: dbroudy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

