|
Last change
on this file was
3163,
checked in by zidane, 15 years ago
|
|
fixes pyflakes and pylint
|
-
Property svn:eol-style set to
native
|
|
File size:
709 bytes
|
| Rev | Line | |
|---|
| [1593] | 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 = { |
|---|
| [3152] | 12 | 'content': 'sitemap.xml', |
|---|
| 13 | 'mobile': 'mobile-sitemap.xml', |
|---|
| 14 | 'news': 'news-sitemap.xml' |
|---|
| [1593] | 15 | } |
|---|
| 16 | |
|---|
| 17 | ping_googlesitemap = 'pingGoogleSitemap' |
|---|
| 18 | testing = 0 |
|---|
| 19 | |
|---|
| 20 | AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, ''] |
|---|
| 21 | |
|---|
| [1728] | 22 | # Turn-ON/OFF portal_catalog |
|---|
| 23 | # updating on product installation |
|---|
| [1729] | 24 | |
|---|
| 25 | # NOT REBUILD catalog |
|---|
| [1728] | 26 | UPDATE_CATALOG = False |
|---|
| [1729] | 27 | # DO REBUILDING catalog |
|---|
| 28 | # UPDATE_CATALOG = True |
|---|
| [2841] | 29 | |
|---|
| 30 | SUPPORT_BLAYER = True |
|---|
| 31 | try: |
|---|
| 32 | from plone import browserlayer |
|---|
| [3163] | 33 | browserlayer |
|---|
| [2841] | 34 | except ImportError: |
|---|
| 35 | SUPPORT_BLAYER = False |
|---|
Note: See
TracBrowser
for help on using the repository browser.