[Solved]-Does Django's singleton architecture make it unworkable as a standalone ORM in a library?
2👍 You can check if django has already been configured. from django.apps import apps from django.conf import settings if not apps.ready: settings.configure() django.setup() When starting Django application – core python library can be configured as separate app an be loaded on startup. Also, check this answer on dynamic app loading at runtime. 👤Oleg Russkin Making … Read more