"Matt Wilson" <[EMAIL PROTECTED]> writes:

> I'm writing a TG site that also requires a few non-web processes to run
> in the backend.  I want a command-line script to insert some rows in
> the database.
>
> This is the gist of what I'm trying to do:

(...)

> What am I doing wrong?  What do I need to do to be able to import the
> class defined inside model.py?

Have you checked the recipe on the wiki that explains how to use your model.py
outside of TurboGears?

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

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

Reply via email to