How can I get PyCharm to let me change the top level Django foldername? Follow
Answered
If I create a Django project named mysite, Django also creates a folder inside that named mysite. If I select the top one and they’ll PyCharm to change the folder name, the Django project will no longer run. I know that Django doesn’t insist they be named the same, because I can do it if I “create the project by hand” outside PyCharm. I want to have the ease that PyCharm provides AND separate folder names...
Please sign in to leave a comment.
Hi Arana,
Thank you for contacting PyCharm support.
Have you tried `Right click --> Refactor --> Rename`?
Kind regards,
Sergey
https://www.jetbrains.com
The Drive to Develop
Yes! That’s the thing that didn’t work.
Thanks for the update.
Is it correct then that by using Refactor --> Rename you are able to change the name, but the project won't run afterwards?
Please provide more details:
1) Screenshot with the error, if any, when you try to run it.
2) Your idea.log after reproducing the problem (Help | Show Log in...).
Looking forward to your reply.
Kind regards,
Sergey
https://www.jetbrains.com
The Drive to Develop
Sergey,
This was after having to 'fix' the project interpreter. It couldn't find it because of the top level directory rename.
Arana
https://www.dropbox.com/s/0b76wnfroo8klng/idea.log?dl=0
Thanks for the information.
It seams to be related to https://youtrack.jetbrains.com/issue/PY-15016, please vote for it and follow for updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
I have also attached a link to this post to the ticket (visible only to JetBrains).
Kind regards,
Sergey
https://www.jetbrains.com
The Drive to Develop