Django has two methods for running raw SQL queries: either directly execute custom SQL without going via the model layer, or use Manager.raw() to run raw queries and return model instances.