#6051 (Add polls plugin to Noi)

by Luc Saffre · in Developers · assigned to Sharif Mehedi

Kurzbeschreibung

Add an attribute with_polls to lino_noi.lib.noi.settings.Site, add the polls user roles to noi user_types. Activate the option in noi2 and add doctest snippets in book to show the new demo data. Adapt the test suites.


In a second step, extend polls so that the answer to a question can be any generic foreign key.

Kinder

Kommentare

  • 1 Jahr, 6 Monate ago von Sharif Mehedi about #6051 (Add polls plugin to Noi) : A few test cases in the book were failing due to the changes in polls answerchoice api. I've fixed and pushed them to gitlab.
  • 1 Jahr, 6 Monate ago von Sharif Mehedi about #6051 (Add polls plugin to Noi) (1 Antwort) : To make answer to a question a generic foreign key, we should probably extend Choice model so that it has a gfk pointer field Choice.db_object.
  • 1 Jahr, 6 Monate ago von Sharif Mehedi about #6051 (Add polls plugin to Noi) : I pushed some changes on lino, xl, noi & book.
  • 1 Jahr, 6 Monate ago von Luc Saffre about #6051 (Add polls plugin to Noi) : Created new Ticket #6051 (Add polls plugin to Noi).