Skip to content

Message

  • Engine: MongoDB (mongoengine document)
  • App: reference
  • Table/Collection: message
  • Verbose name: Message

Newsfeed messages - for public or officials

Field Type Column/Key Null/Default PK Choices Notes
_about EmbeddedDocumentField → embedded <class 'docengine.mongoutils.models.VersionInfo'> _about null — —
competition ReferenceField → <class 'project.reference.mongo.competition.Competition'> competition — — —
title StringField title null — Message title (used for live blog)
text StringField text — — The message
source StringField source null — User name or system
when DateTimeField when null — —
admin BooleanField admin null — —
results BooleanField results null — —
blog BooleanField blog null — —
id ObjectIdField _id — PK — —

Field names link to their fuller explanation below.

Field details

Click a field name in the table above to jump to its explanation. Fields with no help text yet show a prompt, and are the ones to improve by adding a help_text on the model field, then regenerating.

_about

  • Engine: MongoDB
  • Type: EmbeddedDocumentField → embedded <class 'docengine.mongoutils.models.VersionInfo'>
  • Column/Key: _about
  • nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

competition

  • Engine: MongoDB
  • Type: ReferenceField → <class 'project.reference.mongo.competition.Competition'>
  • Column/Key: competition

No help text yet — add a help_text on the model field and regenerate to fill this in.

title

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: title
  • nullable

Message title (used for live blog)

text

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: text

The message

source

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: source
  • nullable

User name or system

when

  • Engine: MongoDB
  • Type: DateTimeField
  • Column/Key: when
  • nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

admin

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: admin
  • nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

results

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: results
  • nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

blog

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: blog
  • nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

id

  • Engine: MongoDB
  • Type: ObjectIdField
  • Column/Key: _id
  • primary key; nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

Generated by docs_models management command for MongoDB.