Nasty Config Issue for Django and SQLite 3

Was getting the following errors (alternately, depending on permissions settings):

“Unable to Open Database File”
“Unable to Write to Database File”

Found a lot of SQLite users complaining about this, then finally got the tip from this page that I needed to set my permissions on the parent director to writeable by the Apache user too.  What a [...]

Continue Reading...

How to Access Your Django Models from External Python Scripts

Spent a good portion of time on this over the weekend, and it turned out to be frustrating enough and the answers available incomplete enough for me to want to document this here briefly.
I wanted to be able to populate my Django models from an external script by simply calling MyObject.save() .  My particular case [...]

Continue Reading...