org.models.external_link
Classes
An Object appearing in some other collection |
|
An Object appearing in some other collection |
|
An Object appearing in some other collection |
|
Module Contents
- class org.models.external_link.ExternalLink[source]
Bases:
onegov.core.orm.Base,onegov.core.orm.mixins.ContentMixin,onegov.core.orm.mixins.TimestampMixin,onegov.org.models.AccessExtension,onegov.search.SearchableContentAn Object appearing in some other collection that features a lead and text but points to some external url.
- fts_type_title[source]
Returns the display name for this type of document or a callable which accepts the current request as a single positional argument and returns the display name.
- class org.models.external_link.ExternalFormLink[source]
Bases:
ExternalLinkAn Object appearing in some other collection that features a lead and text but points to some external url.
- class org.models.external_link.ExternalResourceLink[source]
Bases:
ExternalLinkAn Object appearing in some other collection that features a lead and text but points to some external url.
- class org.models.external_link.ExternalLinkCollection(session: sqlalchemy.orm.Session, member_of: str | None = None, group: str | None = None, type: str | None = None)[source]
Bases:
onegov.core.collection.GenericCollection[ExternalLink]- static translatable_name(model_class: type[object]) str[source]
Most collections have a base model whose name can be guessed from the collection name.
- classmethod collection_by_name() dict[str, type[onegov.core.collection.GenericCollection[Any]]][source]
- property model_class: type[ExternalLink][source]
- classmethod target(external_link: ExternalLink) type[onegov.core.collection.GenericCollection[Any]][source]
- query() sqlalchemy.orm.Query[ExternalLink][source]