hmm.. I don't think you linked the right item?
Rory
This is what I use to process custom sql statements
def process_sql(query):
from django.db import connection
cursor = connection.cursor()
cursor.execute(query)
results = [dict(zip([item[0] for item in cursor.desc
http://docs.djangoproject.com/en/dev/howto/legacy-databases/#howto-legacy-databases
Here is a guide that will help you to build model from current
database structure. maybe you need to do some optimizations on it.
--
Regards
Dulmandakh
--~--~-~--~~~---~--~~
You
2 matches
Mail list logo