loefsys.home.models package
Models package for indexpage module.
- class loefsys.home.models.Announcement(*args, **kwargs)
Bases:
ModelModel representing an announcement on the index page.
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- announcement_end
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- announcement_start
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- content
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- created_at
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_created_at(*, field=<django.db.models.fields.DateTimeField: created_at>, is_next=True, **kwargs)
- get_next_by_updated_at(*, field=<django.db.models.fields.DateTimeField: updated_at>, is_next=True, **kwargs)
- get_previous_by_created_at(*, field=<django.db.models.fields.DateTimeField: created_at>, is_next=False, **kwargs)
- get_previous_by_updated_at(*, field=<django.db.models.fields.DateTimeField: updated_at>, is_next=False, **kwargs)
- id
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
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- title
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- updated_at
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Submodules
- loefsys.home.models.announcement module
AnnouncementAnnouncement.titleAnnouncement.contentAnnouncement.announcement_startAnnouncement.announcement_endAnnouncement.publishedAnnouncement.created_atAnnouncement.updated_atAnnouncement.DoesNotExistAnnouncement.MultipleObjectsReturnedAnnouncement.get_next_by_created_at()Announcement.get_next_by_updated_at()Announcement.get_previous_by_created_at()Announcement.get_previous_by_updated_at()Announcement.idAnnouncement.objects