This check, os.path.isfile() may fail if the app is being run before syncdb has been called. Is this fine? I havent used debug toolbar in a while, so just confirming.