Media for /settings/ in 0.7.48

asked 2013-09-10 19:04:36 -0600

Rupreck gravatar image

updated 2013-09-23 15:41:18 -0600

Evgeny gravatar image

Deployed askbot 0.7.48 on Ubuntu 13.04 with Apache on EC2 and the questions and /admin all work and display correctly with correct media. However the /settings pages are appearing without media (css etc). Uploaded files are showing fine so it is simply the styling of the /settings pages. Page source indicates they use the same media as /admin.

Setup is as per documentation ( and in particular:

Alias /m/ "/mnt/MYSITE/static/"

and even adding

Alias /admin/media/ "/mnt/MYSITE/static/admin/"

to the *.80 VirtualHost doesn't help...

Any suggestions appreciated.

edit retag flag offensive close merge delete


Still no solution to this. In addition the markdown and tinymce are not being picked up. Having installed markdown, python_markdown and django_markdown now wondering if this is a versioning problem. Do we have a database of supported dependencies for each version? Is there a way to list these or have askbot verify or restore the dependencies it needs?

Rupreck gravatar imageRupreck ( 2013-09-16 04:45:27 -0600 )edit

Please try the updated code base - 0.7.49.

Evgeny gravatar imageEvgeny ( 2013-09-23 15:42:00 -0600 )edit

The markdown and tinymce issue was a consequence of the mathjax alias not being configured in Apache.

Rupreck gravatar imageRupreck ( 2013-09-23 16:37:14 -0600 )edit

Codebase 0.7.49 upgrade did not go smoothly. The database migrations scripts do not take account of existing robots tables nor celery* tables. These bugged out many times until all those tables were removed.. In addition the new jinja and compress work is ropey.. ASKBOT_CSS_DEVEL = False <---or it fails! needs ALLOWED_HOSTS = ( '', ) Also installed BeautifulSoup using easy_install and have to recreate the robots rules to allow crawling... But 0.7.49 does fix this admin media problem :)

Rupreck gravatar imageRupreck ( 2013-09-23 18:20:43 -0600 )edit