Ejemplo n.º 1
0
class CaseActivity(models.Model):
    activity = fields.RichTextField(
        blank=True,
        default="",
        help_text=_("Describe the activity tasks relevant to the case story"
                    "provided. These could be in the form of questions or "
                    "instructions for activity which may lead the learner to "
                    "resolving a dilemma presented. "))
    feedback = fields.FeedbackField(
        blank=True,
        default="",
        help_text=_("Provide relevant feedback on the situation"))
    idevice = models.ForeignKey("CaseStudyIdevice", related_name="terms")

    def to_dict(self):
        d = self.__dict__
        d = {
            k: v
            for k, v in d.items()
            if k != 'idevice_id' and k != 'id' and not k.startswith('_')
        }
        return d

    class Meta:
        app_label = "exeapp"
Ejemplo n.º 2
0
class ReadingActivityIdevice(GenericIdevice):
    group = Idevice.CONTENT
    name = _("Reading Activity")
    title = models.CharField(max_length=100, default=name)
    author = _("University of Auckland")
    purpose = _("""<p>The Reading Activity will primarily
be used to check a learner's comprehension of a given text. This can be done
by asking the learner to reflect on the reading and respond to questions about
the reading, or by having them complete some other possibly more physical task
based on the reading.</p>""")
    icon = "icon_reading.gif"
    emphasis = Idevice.SOMEEMPHASIS
    to_read = fields.RichTextField(blank=True, default="",
                               help_text=_("""Enter the details of the reading
    including reference details. The
    referencing style used will depend on the preference of your faculty or
    department."""))
    activity = fields.RichTextField(blank=True, default="",
                                help_text=
    _("""Describe the tasks related to the reading learners should undertake.
        This helps demonstrate relevance for learners."""))
    feedback = fields.FeedbackField(blank=True, default="",
                                help_text=
    _("""Use feedback to provide a summary of the points covered in the reading,
or as a starting point for further analysis of the reading by posing a question
or providing a statement to begin a debate."""))

    class Meta:
        app_label = "exeapp"
Ejemplo n.º 3
0
class ReflectionIdevice(GenericIdevice):
    name = _("Reflection")
    title = models.CharField(max_length=100, default=name)
    author = _("University of Auckland")
    purpose = _("""Reflection is a teaching method often used to
connect theory to practice. Reflection tasks often provide learners with an
opportunity to observe and reflect on their observations before presenting
these as a piece of academic work. Journals, diaries, profiles and portfolios
are useful tools for collecting observation data. Rubrics and guides can be
effective feedback tools.""")
    emphasis = Idevice.SOMEEMPHASIS
    group = Idevice.TEST
    activity = fields.RichTextField(
        blank=True,
        default="",
        help_text=_("""Enter a question for learners to
                                        reflect upon."""))
    answer = fields.FeedbackField(
        blank=True,
        default="",
        help_text=_("""Describe how learners will assess how
they have done in the exercise. (Rubrics are useful devices for providing
reflective feedback.)"""))

    class Meta:
        app_label = "exeapp"
Ejemplo n.º 4
0
class ClozeIdevice(GenericIdevice):

    group = Idevice.TEST
    name = _("Cloze")
    title = models.CharField(max_length=100, default=name)
    author = _("University of Auckland")
    purpose = _("""<p>Cloze exercises are texts or
                    sentences where students must fill in
                    missing words. They are often used for the
                    following purposes:</p>
                    <ol>
                    <li>To check knowledge of core course
                    concepts (this could be a pre-check,
                    formative exercise, or summative check).</li>
                    <li>To check reading comprehension.</li>
                    <li>To check vocabulary knowledge.</li>
                    <li>To check word formation and/or grammatical
                    competence. </li></ol>""")
    emphasis = Idevice.SOMEEMPHASIS
    icon = "icon_question.gif"
    description = fields.RichTextField(
        blank=True,
        default="",
        help_text=_("""Provide instruction on how the cloze activity should be
completed. Default text will be entered if there are no changes to this field.
"""))
    cloze_text = fields.ClozeTextField(
        blank=True,
        default="",
        help_text=_(
            """Enter the text for the cloze activity in to the cloze field
by either pasting text from another source or by typing text directly into the
field.To select words to hide, double click on the word to select it and
click on the underscore button in the toolbar."""))
    feedback = fields.FeedbackField(
        blank=True,
        default="",
        help_text=_("""Enter any feedback you wish to provide the learner
                with-in the feedback field. This field can be left blank."""))
    drag_n_drop = models.BooleanField(default=False)

    class Meta:
        app_label = "exeapp"