Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8174135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:22:27+00:00 2026-06-06T22:22:27+00:00

PyCharm (1.3 and 2 beta) in my Django 1.3 project throws a lot of

  • 0

PyCharm (1.3 and 2 beta) in my Django 1.3 project throws a lot of “unresolved static reference” errors when inspecting my templates for script and style includes.

In an outdated PyCharm doc, I found that a small guide that doesn’t work in my situation, because my static files are spread over multiple apps. Adding my static dirs to STATICFILES_DIRS also didn’t work.

Dir structure (simplified):
  app1/static/js/file.js
  app1/static/css/file.css
  app2/static/js/otherfile.js
  app2/static/css/otherfile.css
  templates/template.html

­

Template.html:
  <script src="{{ STATIC_URL }}js/file.js"></script>

file.js resolves when I visit the template on localhost, but not in PyCharm.

How do I make static files resolve in PyCharm?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:22:28+00:00Added an answer on June 6, 2026 at 10:22 pm

    PyCharm 2.5 finds my static files again.

    The trick is to mark app1/static and app2/static as “Source Root”.

    STATICFILES_DIRS is not working for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pycharm project and, presumably, a Django project. Perhaps they are one
I'm using PyCharm to write the code of a Django project I'm developing. My
Pycharm color coding question. Using pycharm, i always miss the unresolved reference indicator -
i am using pycharm with django. When i do the runserver command, my project
I'm developing a web app in Python 2.7 using Django 1.4 with PyCharm 2.5
I'm running django server over SSH connection on a remote interpreter in PyCharm 2.5.2.
I've just installed PyCharm, and have opened an existing project with multiple apps. When
I'm trying out PyCharm for Django development and I can't stand the white background.
Can I run django-server in Pycharm with root permission? I need to start the
I cannot configure pydoc3.2 on pycharm 2.0.2. Any instructions will help me lot. Thanks.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.