Institution¶
-
class
database.models.
Institution
(*args, **kwargs)¶ Bases:
database.models.custom_base_model.CustomBaseModel
A real world institution (usually academic).
-
name
¶ models.CharField – The name of this Institution
-
located_at
¶ models.ForeignKey – Reference to the GeographicArea where this Institution is located
-
website
¶ models.URLField – A link to the website of this Institution
-
archives
¶ models.ManyToOneRel – References to the Archives located at this Institution
-
published
¶ models.ManyToOneRel – References to the CollectionsOfSources published by this Institution
-
studies
¶ models.ManyToOneRel – References to the ExperimentalStudies related to this Institution
See also
database.models.CustomBaseModel
,database.models.GeographicArea
,database.models.Archive
,database.models.CollectionOfSources
,database.models.ExperimentalStudies
Attributes Summary
archives
Accessor to the related objects manager on the reverse side of a many-to-one relation. id
A wrapper for a deferred-loading field. located_at
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation. located_at_id
A wrapper for a deferred-loading field. name
A wrapper for a deferred-loading field. objects
published
Accessor to the related objects manager on the reverse side of a many-to-one relation. studies
Accessor to the related objects manager on the reverse side of a many-to-one relation. website
A wrapper for a deferred-loading field. Methods Summary
get_next_by_date_created
(*[, field, is_next])get_next_by_date_updated
(*[, field, is_next])get_previous_by_date_created
(*[, field, is_next])get_previous_by_date_updated
(*[, field, is_next])Attributes Documentation
-
archives
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
located_at
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
-
located_at_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects
= <django.db.models.manager.Manager object>¶
-
published
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
studies
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
website
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Methods Documentation
-
get_next_by_date_created
(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=True, **kwargs)¶
-
get_next_by_date_updated
(*, field=<django.db.models.fields.DateTimeField: date_updated>, is_next=True, **kwargs)¶
-
get_previous_by_date_created
(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=False, **kwargs)¶
-
get_previous_by_date_updated
(*, field=<django.db.models.fields.DateTimeField: date_updated>, is_next=False, **kwargs)¶
-