This will probably help out. http://code.djangoproject.com/wiki/InitialSQLDataDiangoORMWay
On Feb 7, 3:30 pm, [EMAIL PROTECTED] wrote: > 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 very much like to move the frontend (which is proving very > difficult to maintain) to a python based framework, partly with the > hope of code re-use between the front-end and back-end for db access > and various validation tasks. > > Django is looking very good- one of the positive side effects (at > least to me) is that it would let me describe the data relationships > in Python, and the framework will take care of creating the tables. > I'm no DBA, and as I've learned a little already from seeing the > output from Django, it's probably going to do a better job than me (at > this point ;-) ) > > The key questions are: > -can we use Django's 'models.py' DB abstraction API from outside of > Django? > -if so, how? > -what libraries would we need to import? > -Anything we'd need to setup before hand? > > Thanks in advance, > > Julian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---