How To Not Get "Cannot Resolve Directory|File" Errors
Is there something I need to do to make this work? My media directory is setup for the project... but it is derived like so in settings:
CURRENT_DIRECTORY = os.path.dirname(__file__)
PROJECT_ROOT = CURRENT_DIRECTORY
MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'media')
Please sign in to leave a comment.
Hello Fred,
You can disable the "Unknown href target" inspection altogether, and also
file a YouTrack issue with details so that we could handle your setup correctly.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I have the same issue. It has been 3 years since this post. Did you find a workaround? I have the same settings configuration. Is there something more I should do?
EDIT: I noticed that although the following gives me "Cannot Resolve Directory" Error:
<script type="text/javascript" src="/static/js/plugins/jquery/jquery.min.js"></script>
The following works:
<script type="text/javascript" src="/my_project/static/js/plugins/jquery/jquery.min.js"></script>
So, I guess there should be something in the settings that would fix this issue.