PyCharm can't resolve reference to a file due to new project structure in Django 1.4


I use PyCharm 2.0.2 to code Django 1.4 project. Here is my DB settings:

    'default': {
        'ENGINE': 'django.db.backends.sqlite3'
        'NAME': 'trycatchme.db'

Reference to trycatchme.db file can't be resolved by PyCharm.

In Django 1.4 project structure differs from project structure in Django 1.3 (please, see screenshot in attachment).

As you can see, trycatchme.db is created in the root directory, near, and is now locates in child directory. In Django 1.3 and were located in one directory (and created .db file after syncdb in the same place), so there were no problems with reference resolving. How to fix it for 1.4?


Tried to execute task makemessages (with Alt+R menu). Faced with exception. It executes task from parent directory (where lives), I need to execute it in child (where locates). Can I set it somehow?

Screen shot 2012-04-05 at 9.49.02 AM.png

Please sign in to leave a comment.