◄ ► | Edit | Home | Admin | en de fr et | Sign in

#6051 (Add polls plugin to Noi)

by Luc Saffre · in Developers · assigned to Sharif Mehedi

Summary

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.

Children

Comments

  • 1 year, 6 months ago by 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 year, 6 months ago by Sharif Mehedi about #6051 (Add polls plugin to Noi) (1 reply) : 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 year, 6 months ago by Sharif Mehedi about #6051 (Add polls plugin to Noi) : I pushed some changes on lino, xl, noi & book.
  • 1 year, 6 months ago by Luc Saffre about #6051 (Add polls plugin to Noi) : Created new Ticket #6051 (Add polls plugin to Noi).