#2204: [PATCH] In the docs, add an example of using the model outside of the
project
---------------------------+------------------------------------------------
 Reporter:  BruceWebber    |        Owner:  Chris Arndt
     Type:  enhancement    |       Status:  new        
 Priority:  normal         |    Milestone:  2.0rc1     
Component:  Documentation  |      Version:  trunk      
 Severity:  normal         |   Resolution:             
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by pitrou):

 There seems to be a slight mistake in that example. If you want it to take
 the ini file from the place where the script is, you should use
 `os.path.dirname(os.path.abspath(__file__))`, not `os.getcwd()`.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2204#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to