Django Tiny MCE and Static files

231 views Asked by At

I have django tinymce setup but I hav noticed an issue with the tool when not in debug mode. The advanced theme has some templates in it, these templates contain django template code. The problem is that these templates are being served out of the static folder, which will not let them render.

Does any one know how to resolve this issue?

Thanks, CG

1

There are 1 answers

4
Alasdair On BEST ANSWER

The built in django runserver command serves static files, but only when DEBUG=True. In production, you need to configure your webserver to serve static files.

The static files documentation is probably a good place to start.