Question

Hi I've been trying to play around with zinnia, nevertheless the CSS is not well applied because it cannot find (or it's in blank) a setting variable called ZINNIA_MEDIA_URL

<link rel="shortcut icon" href="{{ ZINNIA_MEDIA_URL }}img/favicon.ico" />

I tried to setted my self, but without any luck. Has anyone encouter this problem?

Thanks

Was it helpful?

Solution

I took a quick look and I cannot find any reference to ZINNIA_MEDIA_URL in the current version of zinnia.

I did find a note in the readme that zinnia uses Django's 1.3 staticfiles app to handle its css/javascript media now. Look at https://github.com/Fantomas42/django-blog-zinnia/blob/master/zinnia/templates/zinnia/skeleton.html and you'll see "{{ STATIC_URL }}" in there.

So perhaps you took the ZINNIA_MEDIA_URL from an older example or older version of the docs? Or you upgraded to a newer zinnia version?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top