EDIT: I see you've already noticed the formatting yourself and fixed it - good stuff! One hint is that since this is a Python file you can put :::python
at the start of the block (indented by 4 characters as normal) to get syntax highlighting. I've deleted the part of my post which explained how to format blocks. (^_^)
I know very little about Django personally but it look mostly sensible to me. Not sure whether that NAME
setting is correct - I assume the xxx
means you've redacted it? Ah, but the exception above seems quite specific about not finding an engine, and it looks like you've definitely specified one. Mysterious.
Could it be that it's using a different settings.py
file than that one, or that the permissions are such that it's not being read correctly? Still, you'd expect Django to give a more helpful error in the latter case... I think I'll leave this one to those with more Django experience than me! (i.e. some)