[SOLVED] Console message "There is no such settings file settings" when running Django test.py in Pycharm

Answered

PyCharm Django projects require some setup to fully use all the IDE features.  Many actions run fine, but Django testing does not.  When running test.py, the following console messages indicate additional project setup is needed:

  • There is no such settings file settings
  • AttributeError: module 'django.conf.global_settings' has no attribute 'ROOT_URLCONF'

Verify the Pycharm Tools menu has an item "Run manage.py Task...".  If not, configuration changes are needed in File > Settings > Languages & Frameworks > Django. Additionally, if using a remote database, permission to create databases is required.

3 comments

Hi Jantonacci,

Thank you for that. Have you tried to reach us out somewhere?

0

Hi Sergey,

No, I did not realize it was IDE settings until it I solved it.  Once I did I A) felt foolish, and B) wanted to document the solution.

Ciao,
Jason

0

Oh, I see.

Please next time do not hesitate to contact us if you have any questions or problems, we are happy to help.

0

Please sign in to leave a comment.