I think I understand now. Never mind, then. ;-) Am 12.05.2015 um 00:00 schrieb Doug Blank: > On Mon, May 11, 2015 at 4:44 PM, David Sieger <david-dja...@conceal.at > <mailto:david-dja...@conceal.at>> wrote: > > If restarting the whole http service is an option, you could think > about a setting up a separate service that is capable of > stopping/starting your http service. You could then order this new > service from within the http service to restart the http service > with a different settings module. (I'm thinking ZeroMQ, but there > are definitely other ways to implement this.) > > > Thanks, but I think you have misunderstood... there is no http > service... this is not a web app... only Python is involved. I need to > reset the Django initialization in a Python session. > > -Doug > > > > David > > > Am 11.05.2015 um 18:17 schrieb Doug Blank: >> Django users, >> >> We are using Django for two purposes: its ORM for a single-user >> desktop app, and for a regular Django webapp. >> >> For the desktop ORM, is there a way to switch between different >> settings.py? For example, we'd like to be able to load the >> default settings, but then later unload everything, and load >> different default settings. >> >> Looking for something like unloading/reloading all of the >> relevant sys.modules. >> >> We're using python3 if that matters. >> >> Thanks for any suggestions/pointers! >> >> -Doug >> -- >> 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 django-users+unsubscr...@googlegroups.com >> <mailto:django-users+unsubscr...@googlegroups.com>. >> To post to this group, send email to >> django-users@googlegroups.com <mailto:django-users@googlegroups.com>. >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> >> https://groups.google.com/d/msgid/django-users/CAAusYCjPN3t61ku93rqhZxmV2eoLp90ddxPyqeTcEUQbx6B7bA%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/django-users/CAAusYCjPN3t61ku93rqhZxmV2eoLp90ddxPyqeTcEUQbx6B7bA%40mail.gmail.com?utm_medium=email&utm_source=footer>. >> 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 django-users+unsubscr...@googlegroups.com > <mailto:django-users+unsubscr...@googlegroups.com>. > To post to this group, send email to django-users@googlegroups.com > <mailto:django-users@googlegroups.com>. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > > https://groups.google.com/d/msgid/django-users/555114C7.1060306%40conceal.at > > <https://groups.google.com/d/msgid/django-users/555114C7.1060306%40conceal.at?utm_medium=email&utm_source=footer>. > 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 django-users+unsubscr...@googlegroups.com > <mailto:django-users+unsubscr...@googlegroups.com>. > To post to this group, send email to django-users@googlegroups.com > <mailto:django-users@googlegroups.com>. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAAusYCiD9PkB0_aO4bt2n8%2Bcp71KXog6%2B5UJh0fksAHCA4n8OA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAAusYCiD9PkB0_aO4bt2n8%2Bcp71KXog6%2B5UJh0fksAHCA4n8OA%40mail.gmail.com?utm_medium=email&utm_source=footer>. > 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/55512983.5010809%40conceal.at. For more options, visit https://groups.google.com/d/optout.