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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 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