fix sprites path #112

wants to merge 3 commits into


None yet
5 participants

Set path relative for images sprites.
Example '/../static/images/icons-sef88ad2a31.png' should be '../images/icons-sef88ad2a31.png'

@ghost ghost assigned parsch May 7, 2012

For anyone who is interested in a quick fix, in your main url file import settings and add these lines:

urlpatterns += patterns(
  (r'^static/(?P<path>.*)$', 'redirect_to',{'url': settings.STATIC_URL+'%(path)s'}),

gciding commented May 17, 2012

Is there an ETA on when this patch will be pulled? The non-relative paths in screen.css cause 404s when you are using collect static and your static URL is not '/static/'

parsch added a commit that referenced this pull request May 23, 2012


parsch commented May 23, 2012

sorry for delay, simply have overseen that. should work now.

@parsch parsch closed this May 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment