Last change
on this file since 3405 was
3163,
checked in by zidane, 13 years ago
|
fixes pyflakes and pylint
|
-
Property svn:eol-style set to
native
|
File size:
709 bytes
|
Line | |
---|
1 | """Common configuration constants |
---|
2 | """ |
---|
3 | |
---|
4 | PROJECTNAME = 'quintagroup.plonegooglesitemaps' |
---|
5 | |
---|
6 | ADD_PERMISSIONS = { |
---|
7 | # -*- extra stuff goes here -*- |
---|
8 | 'Sitemap': 'qPloneGoogleSitemaps: Add Sitemap', |
---|
9 | } |
---|
10 | |
---|
11 | SITEMAPS_VIEW_MAP = { |
---|
12 | 'content': 'sitemap.xml', |
---|
13 | 'mobile': 'mobile-sitemap.xml', |
---|
14 | 'news': 'news-sitemap.xml' |
---|
15 | } |
---|
16 | |
---|
17 | ping_googlesitemap = 'pingGoogleSitemap' |
---|
18 | testing = 0 |
---|
19 | |
---|
20 | AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, ''] |
---|
21 | |
---|
22 | # Turn-ON/OFF portal_catalog |
---|
23 | # updating on product installation |
---|
24 | |
---|
25 | # NOT REBUILD catalog |
---|
26 | UPDATE_CATALOG = False |
---|
27 | # DO REBUILDING catalog |
---|
28 | # UPDATE_CATALOG = True |
---|
29 | |
---|
30 | SUPPORT_BLAYER = True |
---|
31 | try: |
---|
32 | from plone import browserlayer |
---|
33 | browserlayer |
---|
34 | except ImportError: |
---|
35 | SUPPORT_BLAYER = False |
---|
Note: See
TracBrowser
for help on using the repository browser.