Ask Your Question

Monkey patch for dango in local_settings

asked 2021-10-01 03:09:45 -0500

piscvau's avatar

updated 2021-10-01 12:09:31 -0500

Hello The wing documentationsuggests to add the monkey patch in on your development system. What is meant with this? If the this a django settings I am reluctant to have in my settings which is in git a patch which is devoted to a pecific IDE Il it is in another file I do not understand how the file can be called. Should I add it into the project properties?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-10-01 11:59:10 -0500

updated 2021-10-01 12:00:34 -0500

I'm not sure if Django automatically loads a file named or if you need to add something like the following to your

    from local_settings import *
except ImportError:

Then you would not check into revision control and have it only on your development system(s).

That said, I'm not sure if this is even needed anymore with modern Django versions. When your code hits an unexpected exceptions, does it stop in Wing? If so you don't need this.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-10-01 03:09:45 -0500

Seen: 236 times

Last updated: Oct 11 '21