django urls not autocompleteing for one project

I have six different django projects in the works. One is giving me problems where URLs and ctrl+click to go to definition simply do not work and just say "Cannot find declaration to go to". Additionally it no longer auto-completes url names. I can try applications:enable- and at no point will any available items appear.

I have cleared and invalidated caches, went through the Repair IDE processes.

I'm not sure where to go from here. It's only happening to one project.

0
4 comments
Avatar
Permanently deleted user

I deleted .idea without change. I noticed that typing {% u doesn't bring up autocompletion results. Same goes for {% cs

0
Avatar
Permanently deleted user

Yes it is enabled. Some more testing and I've just realized this one project will let me edit any file without the warning about editing files outside of project directory (like editing core django files).

0
Avatar
Permanently deleted user

I'm not sure where things were messed up. I went as far as to start a new project with a new name and copy my project files into the new project. Everything is now working. So I deleted the original folder where the autocomplete was failing, recreated it and copied everything back into that folder and autocomplete still wasn't working.

So somewhere in another (perhaps) cache system, somehow its blocking auto completion based on the name of the projects folder.

0

Please sign in to leave a comment.