cms.apps.events package¶
Subpackages¶
Submodules¶
cms.apps.events.admin module¶
cms.apps.events.cms_defaults module¶
cms.apps.events.cms_initialize module¶
-
class
cms.apps.events.cms_initialize.CMSInitialize¶ Bases:
cms.core.models.CMSInitializeBase-
iter_models()¶
-
models= (<class 'cms.apps.events.models.EventsArtist'>, <class 'cms.apps.events.models.EventsCategory'>, <class 'cms.apps.events.models.EventsItem'>, <class 'cms.apps.events.models.EventsLocation'>)¶
-
now_fields_skip= {'published_date': <class 'cms.apps.events.models.EventsItem'>}¶
-
cms.apps.events.cms_plugin module¶
-
class
cms.apps.events.cms_plugin.CMSPlugin¶ Bases:
cms.core.plugins.CMSPluginBase-
admin_icon_class= 'icon-calendarthree'¶
-
description= <django.utils.functional.__proxy__ object at 0x99855d0>¶
-
description_long= <django.utils.functional.__proxy__ object at 0x9985290>¶
-
status= 'beta'¶
-
verbose_name= <django.utils.functional.__proxy__ object at 0x9985f90>¶
-
version= '0.3'¶
-
cms.apps.events.cms_sitemaps module¶
-
class
cms.apps.events.cms_sitemaps.EventsItemSitemap¶ Bases:
cms.contrib.sitemaps.sitemap.SitemapBase-
get_queryset(model)¶
-
cms.apps.events.managers module¶
-
class
cms.apps.events.managers.EventsItemManager¶ Bases:
cms.core.managers.ContentManager-
published(lang=None, for_user=None)¶ For non-staff users, return items with a published status and whose publish and expiry dates fall before and after the current date when specified. We need this to set language dynamically for example ajax-request.
-
published_for_month(date_start, date_end, lang=None, for_user=None)¶ For non-staff users, return items with a published status and whose publish and expiry dates fall before and after the current date when specified. We need this to set language dynamically for example ajax-request.
-
published_for_month_deferred(*args, **kwargs)¶
-
upcoming(date_start=None, category=None)¶
-
-
class
cms.apps.events.managers.EventsMediaManager¶ Bases:
cms.core.managers.DisplayableManager-
media_for_object(obj)¶
-
cms.apps.events.models module¶
-
class
cms.apps.events.models.EventsArtist(id, comments_count, comments_count_all, keywords_string, ratings_count, ratings_sum, ratings_average, created_date, modified_date, created_by_id, modified_by_id, description, description_auto, login_required, title, slug, status, published_date, expired_date, sitemapped, mark, content, teaser, teaser_auto, image, imagedescription, imageteaser, imageteaserdescription, license_id, schema, comments_allow, comments_close, author_id, birthday, email, first_name, gender, language, last_name, meta_facebook, meta_google, meta_icq, meta_jabber, meta_skype, meta_twitter, meta_url, name_nick, name_middle, name_prefix, name_suffix, ratings_allow)¶ Bases:
cms.core.models.Content,cms.core.models.Ownable,cms.core.models.Ratable,cms.core.models.Commentable,cms.core.models.Person-
exception
DoesNotExist¶
-
exception
EventsArtist.MultipleObjectsReturned¶
-
class
EventsArtist.Settings¶ -
MEDIA_PATH= {'default': 'artists'}¶
-
SITEMAP_CHANGEFREQ= 'monthly'¶
-
SITEMAP_PRIORITY= 1¶
-
-
EventsArtist.comments¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsArtist.created_by¶
-
EventsArtist.events¶
-
EventsArtist.get_absolute_url()¶
-
EventsArtist.get_commentsfield_name()¶
-
EventsArtist.get_gender_display(*moreargs, **morekwargs)¶
-
EventsArtist.get_keywordsfield_name()¶
-
EventsArtist.get_language_display(*moreargs, **morekwargs)¶
-
EventsArtist.get_mark_display(*moreargs, **morekwargs)¶
-
EventsArtist.get_next_by_created_date(*moreargs, **morekwargs)¶
-
EventsArtist.get_next_by_modified_date(*moreargs, **morekwargs)¶
-
EventsArtist.get_next_by_published_date(*moreargs, **morekwargs)¶
-
EventsArtist.get_previous_by_created_date(*moreargs, **morekwargs)¶
-
EventsArtist.get_previous_by_modified_date(*moreargs, **morekwargs)¶
-
EventsArtist.get_previous_by_published_date(*moreargs, **morekwargs)¶
-
EventsArtist.get_ratingfield_name()¶
-
EventsArtist.get_schema_display(*moreargs, **morekwargs)¶
-
EventsArtist.get_slug(**kwargs)¶ Please be aware if you have datetime fields. Convert to utc: _localtime = self.published_date.astimezone(utc)!
-
EventsArtist.get_status_display(*moreargs, **morekwargs)¶
-
EventsArtist.image¶ A placeholder class that provides a way to set the attribute on the model.
A placeholder class that provides a way to set the attribute on the model.
-
EventsArtist.keywords¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsArtist.license¶
-
EventsArtist.modified_by¶
-
EventsArtist.objects= <cms.core.managers.ContentManager object at 0x9851510>¶
-
EventsArtist.ratings¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsArtist.save(*args, **kwargs)¶
-
EventsArtist.sites¶
-
exception
-
class
cms.apps.events.models.EventsCategory(*args, **kwargs)¶ Bases:
cms.core.models.Content,cms.core.models.OwnableA category for grouping events into a series.
-
exception
DoesNotExist¶
-
class
EventsCategory.Menus¶
-
exception
EventsCategory.MultipleObjectsReturned¶
-
EventsCategory.SCHEMA_CHOICES= [('Event', <django.utils.functional.__proxy__ object at 0x3bc9610>), ('BusinessEvent', <django.utils.functional.__proxy__ object at 0x3bc9650>), ('ChildrensEvent', <django.utils.functional.__proxy__ object at 0x3bc9690>), ('ComedyEvent', <django.utils.functional.__proxy__ object at 0x3bc96d0>), ('DanceEvent', <django.utils.functional.__proxy__ object at 0x3bc9710>), ('DeliveryEvent', <django.utils.functional.__proxy__ object at 0x3bc9750>), ('EducationEvent', <django.utils.functional.__proxy__ object at 0x3bc97d0>), ('Festival', <django.utils.functional.__proxy__ object at 0x3bc9850>), ('FoodEvent', <django.utils.functional.__proxy__ object at 0x3bc98d0>), ('LiteraryEvent', <django.utils.functional.__proxy__ object at 0x3bc9950>), ('MusicEvent', <django.utils.functional.__proxy__ object at 0x3bc99d0>), ('PublicationEvent', <django.utils.functional.__proxy__ object at 0x3bc9a50>), ('SaleEvent', <django.utils.functional.__proxy__ object at 0x3bc9ad0>), ('SocialEvent', <django.utils.functional.__proxy__ object at 0x3bc9b50>), ('SportsEvent', <django.utils.functional.__proxy__ object at 0x3bc9bd0>), ('TheaterEvent', <django.utils.functional.__proxy__ object at 0x3bc9c50>), ('UserInteraction', <django.utils.functional.__proxy__ object at 0x3bc9cd0>), ('VisualArtsEvent', <django.utils.functional.__proxy__ object at 0x3bc9d50>)]¶
-
class
EventsCategory.Settings¶ -
ITEMS_PER_PAGE= {'default': 20}¶
-
MEDIA_PATH= {'default': 'categories'}¶
-
SCHEMA= {'default': 'CollectionPage'}¶
-
SIDEBAR_ARCHIV= {'default': True, 'editable': True, 'description': <django.utils.functional.__proxy__ object at 0x9856510>, 'label': <django.utils.functional.__proxy__ object at 0x9856290>}¶
-
SITEMAP_CHANGEFREQ= 'daily'¶
-
SITEMAP_PRIORITY= 1¶
-
-
EventsCategory.archive¶
-
static
EventsCategory.autocomplete_search_fields()¶
-
EventsCategory.created_by¶
-
EventsCategory.events¶
-
EventsCategory.get_absolute_url()¶
-
EventsCategory.get_keywordsfield_name()¶
-
EventsCategory.get_mark_display(*moreargs, **morekwargs)¶
-
EventsCategory.get_next_by_created_date(*moreargs, **morekwargs)¶
-
EventsCategory.get_next_by_modified_date(*moreargs, **morekwargs)¶
-
EventsCategory.get_next_by_published_date(*moreargs, **morekwargs)¶
-
EventsCategory.get_previous_by_created_date(*moreargs, **morekwargs)¶
-
EventsCategory.get_previous_by_modified_date(*moreargs, **morekwargs)¶
-
EventsCategory.get_previous_by_published_date(*moreargs, **morekwargs)¶
-
EventsCategory.get_schema_display(*moreargs, **morekwargs)¶
-
EventsCategory.get_status_display(*moreargs, **morekwargs)¶
-
EventsCategory.image¶ A placeholder class that provides a way to set the attribute on the model.
A placeholder class that provides a way to set the attribute on the model.
-
EventsCategory.keywords¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsCategory.license¶
-
EventsCategory.modified_by¶
-
EventsCategory.objects= <cms.core.managers.ContentManager object at 0x97b3b10>¶
-
EventsCategory.sites¶
-
exception
-
class
cms.apps.events.models.EventsItem(*args, **kwargs)¶ Bases:
cms.core.models.Content,cms.core.models.Ownable,cms.core.models.Ratable,cms.core.models.Commentable,cms.core.models.SiblingsHold the information about an event in the calendar.
-
class
ApiPrivate¶ -
fields= ('sites', 'artists', 'categories', 'is_overflow', 'location', 'price_presale', 'price_presale_reduced', 'price_door', 'price_door_reduced', 'recurring', 'recurring_expired_date', 'reference', 'salespoints')¶
-
-
exception
EventsItem.DoesNotExist¶
-
EventsItem.MARK_CANCELLED= 'cancelled'¶
-
EventsItem.MARK_CHOICES= (('update', <django.utils.functional.__proxy__ object at 0x9856650>), ('soldout', <django.utils.functional.__proxy__ object at 0x97b3610>), ('cancelled', <django.utils.functional.__proxy__ object at 0x97b3290>))¶
-
EventsItem.MARK_SOLDOUT= 'soldout'¶
-
EventsItem.MARK_UPDATE= 'update'¶
-
exception
EventsItem.MultipleObjectsReturned¶
-
EventsItem.RECURRING_CHOICES= (('NEVER', <django.utils.functional.__proxy__ object at 0x97b3110>), ('DAILY', <django.utils.functional.__proxy__ object at 0x97b3510>), ('WEEKLY', <django.utils.functional.__proxy__ object at 0x97b3d50>), ('MONTHLY', <django.utils.functional.__proxy__ object at 0x97b3cd0>), ('MONTHLY_BYWD', <django.utils.functional.__proxy__ object at 0x97b3ad0>), ('YEARLY', <django.utils.functional.__proxy__ object at 0x97b33d0>))¶
-
EventsItem.SCHEMA_CHOICES= [('Event', <django.utils.functional.__proxy__ object at 0x3bc9610>), ('BusinessEvent', <django.utils.functional.__proxy__ object at 0x3bc9650>), ('ChildrensEvent', <django.utils.functional.__proxy__ object at 0x3bc9690>), ('ComedyEvent', <django.utils.functional.__proxy__ object at 0x3bc96d0>), ('DanceEvent', <django.utils.functional.__proxy__ object at 0x3bc9710>), ('DeliveryEvent', <django.utils.functional.__proxy__ object at 0x3bc9750>), ('EducationEvent', <django.utils.functional.__proxy__ object at 0x3bc97d0>), ('Festival', <django.utils.functional.__proxy__ object at 0x3bc9850>), ('FoodEvent', <django.utils.functional.__proxy__ object at 0x3bc98d0>), ('LiteraryEvent', <django.utils.functional.__proxy__ object at 0x3bc9950>), ('MusicEvent', <django.utils.functional.__proxy__ object at 0x3bc99d0>), ('PublicationEvent', <django.utils.functional.__proxy__ object at 0x3bc9a50>), ('SaleEvent', <django.utils.functional.__proxy__ object at 0x3bc9ad0>), ('SocialEvent', <django.utils.functional.__proxy__ object at 0x3bc9b50>), ('SportsEvent', <django.utils.functional.__proxy__ object at 0x3bc9bd0>), ('TheaterEvent', <django.utils.functional.__proxy__ object at 0x3bc9c50>), ('UserInteraction', <django.utils.functional.__proxy__ object at 0x3bc9cd0>), ('VisualArtsEvent', <django.utils.functional.__proxy__ object at 0x3bc9d50>)]¶
-
class
EventsItem.Settings¶ -
MEDIA_PATH= {'default': 'events'}¶
-
SCHEMA= {'default': 'Event'}¶
-
SITEMAP_CHANGEFREQ= 'weekly'¶
-
SITEMAP_PRIORITY= 1¶
-
-
EventsItem.artists¶
-
EventsItem.categories¶
-
EventsItem.category¶
-
EventsItem.clean()¶
-
EventsItem.comments¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsItem.create_occurrence(date_start, date_end=None, fulltime=False, fulltime_first=False, fulltime_last=False)¶
-
EventsItem.created_by¶
-
EventsItem.expired_date_localtime¶
-
EventsItem.get_absolute_url(**kwargs)¶
-
EventsItem.get_commentsfield_name()¶
-
EventsItem.get_keywordsfield_name()¶
-
EventsItem.get_mark_display(*moreargs, **morekwargs)¶
-
EventsItem.get_next_by_created_date(*moreargs, **morekwargs)¶
-
EventsItem.get_next_by_modified_date(*moreargs, **morekwargs)¶
-
EventsItem.get_next_by_published_date(*moreargs, **morekwargs)¶
-
EventsItem.get_overflow_occurences(date_start=None, freq=3)¶
-
EventsItem.get_previous_by_created_date(*moreargs, **morekwargs)¶
-
EventsItem.get_previous_by_modified_date(*moreargs, **morekwargs)¶
-
EventsItem.get_previous_by_published_date(*moreargs, **morekwargs)¶
-
EventsItem.get_ratingfield_name()¶
-
EventsItem.get_recurring_display(*moreargs, **morekwargs)¶
-
EventsItem.get_schema_display(*moreargs, **morekwargs)¶
-
EventsItem.get_status_display(*moreargs, **morekwargs)¶
-
EventsItem.image¶ A placeholder class that provides a way to set the attribute on the model.
A placeholder class that provides a way to set the attribute on the model.
-
EventsItem.is_overflow¶
-
EventsItem.is_published¶
-
EventsItem.keywords¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsItem.license¶
-
EventsItem.location¶
-
EventsItem.modified_by¶
-
EventsItem.objects= <cms.apps.events.managers.EventsItemManager object at 0x97a8410>¶
-
EventsItem.occurrences(date_start=None, date_end=None, dismiss_overflow=False)¶
-
EventsItem.pk_long¶
-
EventsItem.published_date_localtime¶
-
EventsItem.ratings¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsItem.recurring_expired_date_localtime¶
-
EventsItem.salespoints¶
-
EventsItem.save(*args, **kwargs)¶
-
EventsItem.sites¶
-
class
-
class
cms.apps.events.models.EventsLocation(id, comments_count, comments_count_all, keywords_string, ratings_count, ratings_sum, ratings_average, created_date, modified_date, created_by_id, modified_by_id, description, description_auto, login_required, title, slug, status, published_date, expired_date, sitemapped, mark, content, teaser, teaser_auto, image, imagedescription, imageteaser, imageteaserdescription, license_id, schema, comments_allow, comments_close, city, country, email, fax, phone, position, state, street, url, zipcode, author_id, ratings_allow)¶ Bases:
cms.core.models.Content,cms.core.models.Ownable,cms.core.models.Ratable,cms.core.models.Commentable,cms.core.models.Location-
exception
DoesNotExist¶
-
exception
EventsLocation.MultipleObjectsReturned¶
-
EventsLocation.SCHEMA_CHOICES= [('Place', <django.utils.functional.__proxy__ object at 0x3bcb3d0>), ('AdministrativeArea', <django.utils.functional.__proxy__ object at 0x3bcb410>), ('CivicStructure', <django.utils.functional.__proxy__ object at 0x3bcb450>), ('Landform', <django.utils.functional.__proxy__ object at 0x3bcb490>), ('LandmarksOrHistoricalBuildings', <django.utils.functional.__proxy__ object at 0x3bcb4d0>), ('LocalBusiness', <django.utils.functional.__proxy__ object at 0x3bcb510>), ('Residence', <django.utils.functional.__proxy__ object at 0x3bcb590>), ('TouristAttraction', <django.utils.functional.__proxy__ object at 0x3bcb610>)]¶
-
class
EventsLocation.Settings¶ -
MEDIA_PATH= {'default': 'locations'}¶
-
SCHEMA= {'default': 'Place'}¶
-
SITEMAP_CHANGEFREQ= 'monthly'¶
-
SITEMAP_PRIORITY= 1¶
-
-
static
EventsLocation.autocomplete_search_fields()¶
-
EventsLocation.comments¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsLocation.created_by¶
-
EventsLocation.get_absolute_url()¶
-
EventsLocation.get_commentsfield_name()¶
-
EventsLocation.get_country_display(*moreargs, **morekwargs)¶
-
EventsLocation.get_keywordsfield_name()¶
-
EventsLocation.get_mark_display(*moreargs, **morekwargs)¶
-
EventsLocation.get_next_by_created_date(*moreargs, **morekwargs)¶
-
EventsLocation.get_next_by_modified_date(*moreargs, **morekwargs)¶
-
EventsLocation.get_next_by_published_date(*moreargs, **morekwargs)¶
-
EventsLocation.get_previous_by_created_date(*moreargs, **morekwargs)¶
-
EventsLocation.get_previous_by_modified_date(*moreargs, **morekwargs)¶
-
EventsLocation.get_previous_by_published_date(*moreargs, **morekwargs)¶
-
EventsLocation.get_ratingfield_name()¶
-
EventsLocation.get_schema_display(*moreargs, **morekwargs)¶
-
EventsLocation.get_status_display(*moreargs, **morekwargs)¶
-
EventsLocation.image¶ A placeholder class that provides a way to set the attribute on the model.
A placeholder class that provides a way to set the attribute on the model.
-
EventsLocation.keywords¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsLocation.license¶
-
EventsLocation.modified_by¶
-
EventsLocation.objects= <cms.core.managers.ContentManager object at 0x8f8c9d0>¶
-
EventsLocation.position¶ A placeholder class that provides a way to set the attribute on the model.
-
EventsLocation.ratings¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsLocation.sites¶
-
exception
-
class
cms.apps.events.models.EventsMedia(id, comments_count, comments_count_all, keywords_string, created_date, modified_date, created_by_id, modified_by_id, description, description_auto, login_required, title, slug, status, published_date, expired_date, sitemapped, mark, content, teaser, teaser_auto, image, imagedescription, imageteaser, imageteaserdescription, license_id, schema, comments_allow, comments_close, author_id, content_type_id, object_id)¶ Bases:
cms.core.models.Content,cms.core.models.Ownable,cms.core.models.Commentable-
exception
EventsMedia.DoesNotExist¶
-
exception
EventsMedia.MultipleObjectsReturned¶
-
class
EventsMedia.Settings¶ -
MEDIA_PATH= {'default': 'media'}¶
-
SCHEMA= {'default': 'CreativeWork'}¶
-
SITEMAP_CHANGEFREQ= 'monthly'¶
-
SITEMAP_PRIORITY= 1¶
-
-
EventsMedia.comments¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsMedia.content_object¶ Provides a generic relation to any object through content-type/object-id fields.
-
EventsMedia.content_type¶
-
EventsMedia.created_by¶
-
EventsMedia.get_commentsfield_name()¶
-
EventsMedia.get_keywordsfield_name()¶
-
EventsMedia.get_mark_display(*moreargs, **morekwargs)¶
-
EventsMedia.get_next_by_created_date(*moreargs, **morekwargs)¶
-
EventsMedia.get_next_by_modified_date(*moreargs, **morekwargs)¶
-
EventsMedia.get_next_by_published_date(*moreargs, **morekwargs)¶
-
EventsMedia.get_previous_by_created_date(*moreargs, **morekwargs)¶
-
EventsMedia.get_previous_by_modified_date(*moreargs, **morekwargs)¶
-
EventsMedia.get_previous_by_published_date(*moreargs, **morekwargs)¶
-
EventsMedia.get_schema_display(*moreargs, **morekwargs)¶
-
EventsMedia.get_status_display(*moreargs, **morekwargs)¶
-
EventsMedia.image¶ A placeholder class that provides a way to set the attribute on the model.
A placeholder class that provides a way to set the attribute on the model.
-
EventsMedia.keywords¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsMedia.license¶
-
EventsMedia.modified_by¶
-
EventsMedia.objects= <cms.apps.events.managers.EventsMediaManager object at 0x8fd4b50>¶
-
EventsMedia.sites¶
-
exception
-
class
cms.apps.events.models.EventsOccurrence(*args, **kwargs)¶ Bases:
cms.core.models.Displayable,cms.core.models.Ownable-
EventsOccurrence.created_by¶
-
EventsOccurrence.event¶
-
EventsOccurrence.expired_date_localtime¶
-
EventsOccurrence.get_absolute_url(**kwargs)¶
-
EventsOccurrence.get_mark_display(*moreargs, **morekwargs)¶
-
EventsOccurrence.get_next_by_created_date(*moreargs, **morekwargs)¶
-
EventsOccurrence.get_next_by_modified_date(*moreargs, **morekwargs)¶
-
EventsOccurrence.get_next_by_published_date(*moreargs, **morekwargs)¶
-
EventsOccurrence.get_previous_by_created_date(*moreargs, **morekwargs)¶
-
EventsOccurrence.get_previous_by_modified_date(*moreargs, **morekwargs)¶
-
EventsOccurrence.get_previous_by_published_date(*moreargs, **morekwargs)¶
-
EventsOccurrence.get_status_display(*moreargs, **morekwargs)¶
-
EventsOccurrence.keywords¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsOccurrence.length_iso()¶
-
EventsOccurrence.modified_by¶
-
EventsOccurrence.published_date_localtime¶
-
EventsOccurrence.sites¶
-
EventsOccurrence.time_full¶
-
EventsOccurrence.time_pretty¶
-
-
class
cms.apps.events.models.EventsSalespoint(id, keywords_string, created_date, modified_date, created_by_id, modified_by_id, description, description_auto, login_required, title, slug, status, published_date, expired_date, sitemapped, mark, content, teaser, teaser_auto, image, imagedescription, imageteaser, imageteaserdescription, license_id, schema, city, country, email, fax, phone, position, state, street, url, zipcode, author_id, businesshours)¶ Bases:
cms.core.models.Content,cms.core.models.Ownable,cms.core.models.Location-
exception
DoesNotExist¶
-
exception
EventsSalespoint.MultipleObjectsReturned¶
-
class
EventsSalespoint.Settings¶ -
MEDIA_PATH= {'default': 'salespoints'}¶
-
SCHEMA= {'default': 'Place'}¶
-
SITEMAP_CHANGEFREQ= 'monthly'¶
-
SITEMAP_PRIORITY= 1¶
-
-
static
EventsSalespoint.autocomplete_search_fields()¶
-
EventsSalespoint.created_by¶
-
EventsSalespoint.get_country_display(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_keywordsfield_name()¶
-
EventsSalespoint.get_mark_display(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_next_by_created_date(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_next_by_modified_date(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_next_by_published_date(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_previous_by_created_date(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_previous_by_modified_date(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_previous_by_published_date(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_schema_display(*moreargs, **morekwargs)¶
-
EventsSalespoint.get_status_display(*moreargs, **morekwargs)¶
-
EventsSalespoint.image¶ A placeholder class that provides a way to set the attribute on the model.
A placeholder class that provides a way to set the attribute on the model.
-
EventsSalespoint.keywords¶ This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
-
EventsSalespoint.license¶
-
EventsSalespoint.modified_by¶
-
EventsSalespoint.objects= <cms.core.managers.ContentManager object at 0x7c18d90>¶
-
EventsSalespoint.position¶ A placeholder class that provides a way to set the attribute on the model.
-
EventsSalespoint.sites¶
-
exception
cms.apps.events.search_indexes module¶
-
class
cms.apps.events.search_indexes.EventsArtistIndex¶ Bases:
cms.apps.search.models.SearchBase,cms.apps.search.models.SearchContent,haystack.constants.Indexable-
fields= {'imageteaser': <haystack.fields.CharField object at 0x4521790>, 'modified_date': <haystack.fields.DateTimeField object at 0x45214d0>, 'published_date': <haystack.fields.DateTimeField object at 0x4521510>, 'description': <haystack.fields.CharField object at 0x45216d0>, 'author': <haystack.fields.CharField object at 0x45212d0>, 'url': <haystack.fields.CharField object at 0x4521590>, 'text': <haystack.fields.CharField object at 0x4521610>, 'image': <cms.apps.search.fields.FileField object at 0x4521710>, 'imagedescription': <haystack.fields.CharField object at 0x4521750>, 'keywords_string': <haystack.fields.CharField object at 0x4521810>, 'content': <haystack.fields.CharField object at 0x4521650>, 'imageteaserdescription': <haystack.fields.CharField object at 0x45217d0>, 'teaser': <haystack.fields.CharField object at 0x4521850>, 'content_auto': <haystack.fields.EdgeNgramField object at 0x4521690>, 'created_date': <haystack.fields.DateTimeField object at 0x4521490>, 'title': <haystack.fields.CharField object at 0x4521550>, 'schema': <haystack.fields.CharField object at 0x4521890>}¶
-
get_model()¶
-
objects= <haystack.manager.SearchIndexManager object at 0x7d82490>¶
-
-
class
cms.apps.events.search_indexes.EventsItemIndex¶ Bases:
cms.apps.search.models.SearchBase,cms.apps.search.models.SearchContent,haystack.constants.Indexable-
artists= <haystack.fields.MultiValueField object at 0x9bf9550>¶
-
fields= {'imageteaser': <haystack.fields.CharField object at 0x4521790>, 'modified_date': <haystack.fields.DateTimeField object at 0x45214d0>, 'published_date': <haystack.fields.DateTimeField object at 0x4521510>, 'description': <haystack.fields.CharField object at 0x45216d0>, 'author': <haystack.fields.CharField object at 0x45212d0>, 'url': <haystack.fields.CharField object at 0x4521590>, 'text': <haystack.fields.CharField object at 0x4521610>, 'image': <cms.apps.search.fields.FileField object at 0x4521710>, 'imagedescription': <haystack.fields.CharField object at 0x4521750>, 'keywords_string': <haystack.fields.CharField object at 0x4521810>, 'content': <haystack.fields.CharField object at 0x4521650>, 'imageteaserdescription': <haystack.fields.CharField object at 0x45217d0>, 'teaser': <haystack.fields.CharField object at 0x4521850>, 'location': <haystack.fields.CharField object at 0x9bf9bd0>, 'content_auto': <haystack.fields.EdgeNgramField object at 0x4521690>, 'created_date': <haystack.fields.DateTimeField object at 0x4521490>, 'title': <haystack.fields.CharField object at 0x4521550>, 'artists': <haystack.fields.MultiValueField object at 0x9bf9550>, 'schema': <haystack.fields.CharField object at 0x4521890>}¶
-
get_model()¶
-
location= <haystack.fields.CharField object at 0x9bf9bd0>¶
-
objects= <haystack.manager.SearchIndexManager object at 0x9bf1f50>¶
-
prepare_artists(obj)¶
-
-
class
cms.apps.events.search_indexes.EventsLocationIndex¶ Bases:
cms.apps.search.models.SearchBase,cms.apps.search.models.SearchContent,haystack.constants.Indexable-
fields= {'imageteaser': <haystack.fields.CharField object at 0x4521790>, 'modified_date': <haystack.fields.DateTimeField object at 0x45214d0>, 'published_date': <haystack.fields.DateTimeField object at 0x4521510>, 'description': <haystack.fields.CharField object at 0x45216d0>, 'author': <haystack.fields.CharField object at 0x45212d0>, 'url': <haystack.fields.CharField object at 0x4521590>, 'text': <haystack.fields.CharField object at 0x4521610>, 'image': <cms.apps.search.fields.FileField object at 0x4521710>, 'imagedescription': <haystack.fields.CharField object at 0x4521750>, 'keywords_string': <haystack.fields.CharField object at 0x4521810>, 'content': <haystack.fields.CharField object at 0x4521650>, 'imageteaserdescription': <haystack.fields.CharField object at 0x45217d0>, 'teaser': <haystack.fields.CharField object at 0x4521850>, 'content_auto': <haystack.fields.EdgeNgramField object at 0x4521690>, 'created_date': <haystack.fields.DateTimeField object at 0x4521490>, 'title': <haystack.fields.CharField object at 0x4521550>, 'schema': <haystack.fields.CharField object at 0x4521890>}¶
-
get_model()¶
-
objects= <haystack.manager.SearchIndexManager object at 0x9bf1cd0>¶
-
cms.apps.events.urls module¶
cms.apps.events.views module¶
-
class
cms.apps.events.views.EventsArtitsDetailView(**kwargs)¶ Bases:
cms.apps.events.views.EventsBaseView,cms.core.views.GenericTemplateTooltipView-
get(request, artist)¶
-
post(request, artist)¶
-
schema_main= 'Person'¶
-
template_name= 'events/artist_detail.html'¶
-
-
class
cms.apps.events.views.EventsBaseView(**kwargs)¶ Bases:
cms.core.views.GenericTemplateView-
get_category(category, request)¶
-
get_data(request, category=None)¶
-
-
class
cms.apps.events.views.EventsItemDetailView(**kwargs)¶ Bases:
cms.apps.events.views.EventsBaseView,cms.core.views.GenericTemplateTooltipView-
get(request, category, year, month, day, slug, pk)¶
-
post(request, category, year, month, day, slug, pk)¶
-
template_name= 'events/item_detail.html'¶
-
-
class
cms.apps.events.views.EventsItemListView(**kwargs)¶ Bases:
cms.apps.events.views.EventsBaseView,cms.core.views.GenericTemplateTooltipView-
get(request, category=None, year=None, month=None, page=None)¶
-
get_map(request)¶
-
get_table(request)¶
-
post(request, category)¶
-
schema_body= 'CollectionPage'¶
-
schema_main= 'ItemList'¶
-
template_name= 'events/item_list.html'¶
-
-
class
cms.apps.events.views.EventsLocationDetailView(**kwargs)¶ Bases:
cms.apps.events.views.EventsBaseView,cms.core.views.GenericTemplateTooltipView-
get(request, location)¶
-
post(request, location)¶
-
template_name= 'events/location_detail.html'¶
-