开发者

django cms static media files cannot be found (404)

开发者 https://www.devze.com 2023-02-20 13:48 出处:网络
I\'m new to django cms and I\'m really lucky that I was able to install it. If I go to the backend of my site (http://localhost:8000/admin), then the django cms admin panel shows up.

I'm new to django cms and I'm really lucky that I was able to install it. If I go to the backend of my site (http://localhost:8000/admin), then the django cms admin panel shows up.

If I want to edit some cms pages then I can see that the browser tries to get some files like "/static开发者_运维问答_media/cms/jquery.dialog.css", "/static_media/cms/pages.css", "/static_media/cms/ui.core.js" and so on...

Unfortunately the browser only gets a HTTP 404 response and I do not know what I have to configure in "settings.py" or "url.py" to get things working. Can anybody help me?


Found the solution at http://djangosnippets.org/snippets/2401/

0

精彩评论

暂无评论...
验证码 换一张
取 消