[Answer]-What is the method to use a django model in a non django application?

1👍

At the very least you need to have the configuration of your database defined. That’s normally handled using an environment variable called DJANGO_SETTINGS_MODULE pointing to your django project settings model

However you can also use settings without setting DJANGO_SETTINGS_MODULE

Leave a comment