Re: Newbie: is it possible to use Django's db API outside of Django?

2007-02-07 Thread wandering . womble
> let me see if I understand your situation- you want to replace the > frontend entirely, and keep your current backend tools. The front end > has a web interface, the back end is all command-line. > > You're thinking about redoing the front end completely, in Django, and > using the Django ORM

Re: Newbie: is it possible to use Django's db API outside of Django?

2007-02-07 Thread wandering . womble
Thanks James, I think you've made my day :-) > > So long as the settings are configured before this import, and so long > as you have a models file which includes correct Django model > definitions, yes it will work. > > -- --~--~-~--~~~---~--~~ You received

Re: Newbie: is it possible to use Django's db API outside of Django?

2007-02-07 Thread wandering . womble
> You should be able to just set up a minimal Django project with > settings to specify a database and an INSTALLED_APPS list, and then > things will just work. If you don't want to use a settings file, you > could even do it with manual settings configuration: > Thanks for the link! Would I

Newbie: is it possible to use Django's db API outside of Django?

2007-02-07 Thread Wandering . Womble
Hi there- Let me describe the situation we have. I'm working on a test automation system, with a backend python script that does the actual testing. The frontend is currently a PHP web application. Between the two is a database- web app adds rows, python scheduler polls for new rows. We'd