python - Django: Bypassing the database abstraction -
i have been playing arround django couple of days , seems great, find pain if want change structure of database, stuck few rather awkward options.
is there way bypass djangos database abstraction if change structure of database dont have guess model have generated or use tool (south or ...) change things?
i want this: https://docs.djangoproject.com/en/dev/topics/db/sql/ (raw sql queries) instead of refering model, refering external database.
could create empty model , perform raw queries on it? (and set db externally)
thanks
p.s. dont mind if have separate databases admin stuff , app data
it's in question already, read docs article here: executing custom sql directly
Comments
Post a Comment