Products.MightyCal.Calendar.Const (version 1.9) | index /home/zope/lib/python/Products/MightyCal/Calendar/Const.py |
Constants module for MightyCal.Calendar subpackage. This constants module exists so that constant values relating to Calendar, CalendarRegistry and ImageCollection can be kept in a sensible location related to the Calendar subpackage, without actually defining the constants in the modules themselves, which sometimes causes circular import problems. **Note: Local constants in module files are named differently from package constants: they begin with a lowercase 'c', and are in mixed case.
Data | ||
ADD_CALENDAR_METHOD = 'addCalendar' DEFAULT_CALENDAR_SLOT = 'calendar' DEFAULT_FORMAT_SLOT = 'format' DEFAULT_STYLESHEET_SLOT = 'stylesheet' DEFAULT_TEMPLATE_SLOT = 'template' DESCRIPTION_PROPERTY = 'description' EDIT_PROPERTIES_METHOD = 'manage_main' EVENT_TYPES_PROPERTY = 'eventTypes' ID_PROPERTY = 'id' OWNER_PROPERTY = 'owner' PACKAGE_NAME = 'Calendar' TITLE_PROPERTY = 'title' __file__ = '/home/zope/lib/python/Products/MightyCal/Calendar/Const.pyc' __name__ = 'Products.MightyCal.Calendar.Const' __version__ = '$Revision: 1.9 $' |