what is the '.idea' directory in my django project folder?
Just curious.
It c开发者_Go百科ontains things like:
encodings.xml misc.xml modules.xml smigle.iml vcs.xml workspace.xml
That folder contains the project files for the JetBrains PyCharm Python IDE. If you use the IDE or Intellij IDEA, you should keep the folder. If you don't, it is safe to delete it.
I had that same question. I think this article would be useful.
In resume the .idea folder contains the settings that you configured at the start of the project, and it's version control. For example if I'm using Pycharm one of the most common settings is the project interpreter, the .idea folder stores the settings of that interpreter, and it is useful when I'm using virtual environments.
It is totally safe to delete, but it could be useful to keep in some cases.
精彩评论