Turns out, "import custom" will not throw if there is a "custom" directory in the PYTHONPATH, even if the init.py is missing; but you can check that custom.file is set to something and that raises if its there but a directory.
similarly, we check for the import of template_tags in the startup when we run so we can log and stub in a
substitute. Still not sure why that didn't work at the outer scope, but it seems to work here...
Turns out, "import custom" will not throw if there is a "custom" directory in the PYTHONPATH, even if the init.py is missing; but you can check that custom.file is set to something and that raises if its there but a directory.
similarly, we check for the import of template_tags in the startup when we run so we can log and stub in a substitute. Still not sure why that didn't work at the outer scope, but it seems to work here...