A summary of the help I received in the chatroom today as I endeavored
to change the manager password for my turbogears project.

I was doing the helloworld project as shown here:
http://www.turbogears.org/2.0/docs/main/QuickStart.html

I noticed that the default scenereo was to run the web server at
127.0.0.1:8080 (localhost, not accessable via the network.  So I went
into the development.ini file and changed the 127.0.0.1 to the public
IP address of the server.

When doing the   paster quickstart command I allowed the default of
yes to the authentication question.  It was recommended to me on the
chatroom that I should  change the default password.  Special thanks
to mpederson and epargo for their help.

paster shell development.ini

u = model.DBSession.query(model.User).filter_by
(user_name=u'manager').first()
u.password='newsecretpassword'
import transaction
transaction.commit()

u = model.DBSession.query(model.User).filter_by
(user_name=u'editor').first()
u.password='newsecretpassword'
import transaction
transaction.commit()

I'm happy to report that this changed the password!
Thanks for the assistance!

Sincerely,
Joseph-William:Baker
Sovereign Man of my own nation.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to