Tweak the django-sql a little.