Good day! I have this question: there is a site on Django, everything works fine on localhost, when I transfer the site to hosting, and after transfer I make collected static, then all the static is collected and then everything works fine, but there is a Zinnia blog module and it does not connect statics editor.

At the same time there is a link to the statics, this is not working (they are just like that now):

/static/ckeditor/ckeditor/skins/moono/editor_gecko.css?t=F7OI 

and if it works like this

 /static/ckeditor/ckeditor/skins/moono/editor_gecko.css 

those. in the urla it is transferred variable? t = F7OI

because of which for some reason the static file is not given.

Tell me, please, how this can be resolved.

Thanks a lot in advance!

Web server hosting on statics Nginx, Apache scripts

  • one
    maybe it would be worth showing configs? - nörbörnën

1 answer 1

In general, it was how Django handled statics. Links of the form editor_gecko.css?t=F7OI processed as script requests. It was necessary to specify Django , that from the static folder - all this is static, and then it worked.

  • Add, how exactly to indicate that all static is taken from the static folder. - MichaelPak