On 1/9/14, 5:54 AM, Marc BUFFAT wrote:
Hello I have a working webwork 2.8 and a sagecell server in my departement, and want to use sagecell within a webwork problem. The problem is related to the acceptance of TOS that the cellserver requires. This not a problem when using the sagecell server interactively, but using sagecell within a program (as webwork) is not easy when it requires the acceptance of the TOS.
The webwork macro has a parameter to indicate acceptance of the TOS. Basically, you just pass a form field with key accepted_tos and value true along with your code. Here's the code: https://github.com/openwebwork/pg/blob/master/lib/WeBWorK/PG/IO.pm#L228
Is it possible to disable the requirement of acceptance of the TOS in my sagecell server ?
Certainly. Just change this line in your config: https://github.com/jasongrout/sagecell/blob/master/config_default.py#L16 to requires_tos = False Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
