Django Raw and Raw SQL
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)
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)