Django Raw and Raw SQL
Django Raw and Raw SQLpublished on 02 Mar 2010Django Raw is pretty sweet. Basically, you use it like so:from models import Model query = "SELECT * FROM model" models = Model.objects.raw(query)
published on 02 Mar 2010
Django Raw is pretty sweet. Basically, you use it like so:
from models import Model query = "SELECT * FROM model" models = Model.objects.raw(query)