Files @ a80c95fd136e
Branch filter:

Location: website/www/conservancy/manage.py

Bradley M. Kuhn
Fix minimal start of ourcoverage.html and correct various problems

ourcoverage.html was a reasonable minimal start but not really ready
for production. Make changes necessary to put this into production,
as follows:

* Rename ourcoverage.html to vizio-coverage.html. This is just
Vizio coverage for now.

* Order articles by most in-depth/interesting. Verified this
ordering by consensus with Conservancy staff.

* mailto: link for press coverage on the main inthenews page, but
don't use that on Vizio page; it's unlikely we'll miss any of the
Vizio coverage.

* use — instead of -

* put quotes around article titles.

* Add missing PR Web article

* Switch from <p>'s to <li>'s in vizio-coverage.html

* Fix menu issues. 09a4b02 outlined the issues regarding how to
add items to menu; it does require a CSS change as explained
therein; merely using the right `base_` is not enough

* Improve menu integration. Per PR people's recommendation, the
Vizio stuff that also goes in other areas needs to be placed in
multiple menus.
#!/usr/bin/env python

import sys
sys.path += ('/var/www',)

from django.core.management import execute_manager
try:
    from conservancy import settings
except ImportError:
    sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
    sys.exit(1)

if __name__ == "__main__":
    execute_manager(settings)