I think this documentation will provide what you are looking for

http://code.djangoproject.com/wiki/InitialSQLDataDiangoORMWay

jeff

-------------- Original message -------------- 
From: johnny <[EMAIL PROTECTED]> 

> 
> I have a python script that runs in a multi threaded manner for 
> backend to update certain flags in the table. I want to use django 
> models to do this. I was wondering if I import the django models just 
> like any other python, would that work? 
> 
> Also, what about the database connection, can I just create a database 
> connection inside the python script and use Django Models? 
> 
> Thanks. 
> 
> 
> > 
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to