does this help? https://docs.djangoproject.com/en/1.10/topics/settings/#calling-django-setup-is-required-for-standalone-django-usage
On Tue, Oct 25, 2016 at 12:13 AM, Vinicius Assef <[email protected]> wrote: > On 24 October 2016 at 16:30, Avraham Serour <[email protected]> wrote: > > > > Django is a webframework, but it is not an all or nothing thing, you > don't > > need to use everything, you may just use the ORM, define your models, > import > > them from your application. > > This is an interesting scenario, Avraham. > > I can't imagine how settings.py would be called to configure database > stuff. Could you? > > It made me curious about that. > > -- > Vinicius Assef > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/CAFmXjSCZua21SHr9GWTLvAU1iAqfq > N70rG7Jq07o98Y_zQU89w%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6tJi2b-URgFzymfWwXZCG%2BbD-10E2S8wmO6pzaLBU25cpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

