Changeset 1800

Show
Ignore:
Timestamp:
11/18/08 16:13:38 (16 months ago)
Author:
JensDiemer
Message:

moved CSS_TAG_BLACKLIST into the settings.py, see: 235 and  http://pylucid.org/phpBB2/viewtopic.php?t=206

Location:
trunk/pylucid_project/PyLucid
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid_project/PyLucid/settings_example.py

    r1634 r1800  
    406406CSS_PLUGIN_CLASS_NAME = "PyLucidPlugins" 
    407407 
     408# A tuple list of all plugins witch output should not surrounded with a 
     409# <div> tag: 
     410CSS_TAG_BLACKLIST = ("page_style", "RSSfeedGenerator",) 
    408411 
    409412 
  • trunk/pylucid_project/PyLucid/template_addons/lucidTag.py

    r1667 r1800  
    3535KWARGS_REGEX = re.compile('''(\w*?)\=['"](.*?)['"]''') 
    3636 
    37 # Not all plugin output should surrounded with a <div> tag: 
    38 CSS_TAG_BLACKLIST = ("page_style", "RSSfeedGenerator",) 
     37# TODO: Should be removed in the next release 
     38CSS_TAG_BLACKLIST = getattr( 
     39    settings, "CSS_TAG_BLACKLIST", ("page_style", "RSSfeedGenerator",) 
     40) 
    3941 
    4042