You mean that in PyCharm, you get the "Unresolved static reference" warning?

Do you have the static files in the static subdirectories of your installed 
apps or in STATICFILES_DIRS in settings? STATIC_ROOT is meant to be the 
directory that is used when you run collectstatic in production. With that 
said, PyCharm seems to find static files there as well on my installation.

On Friday, February 22, 2013 9:53:05 AM UTC-7, frocco wrote:
>
> Hello,
>
> I have my static data mapped to:
> STATIC_ROOT = '/wamp/www/static/'
>
> If I hit the app at localhost/app
> Everything is ok.
>
> However when I debug in PyCharm, the static data does not map.
>
> My templates use {{ STATIC_URL }}img/....
>
> Thank you
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to