Hi, I know it may not be direct answer for your question, but try to avoid of hard defined paths.
http://lincolnloop.com/django-best-practices/projects.html Handling File Paths One function of your settings is to tell Django where to find things such as your static media and templates. Most likely they’ll already live inside your project. If so, let Python generate the absolute path names for you. This makes your project portable across different environments. import osDIRNAME = os.path.dirname(__file__)# ...STATIC_ROOT = os.path.join(DIRNAME, 'static') Dne pátek, 22. února 2013 17:53:05 UTC+1 frocco napsal(a): > > 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.