premierlangage
premierlangage copied to clipboard
Binary elements in answer from sandbox
We nee a way to get binary file from the sanbdox so that the playexo can use them in html (for exemple < img src="filefromthesandbox.jpg" >).
- we need a syntaxe in the grader and the builder to do that.
- implement it !
Already done in the latest version:
https://github.com/PremierLangage/sandbox/blob/f3c2640dad6b7facfe2489d3523c3bc6f116cb4a/sandbox/views.py#L64-L87
OK can you show us a exercice creating a binary file (jpeg) in the sandbox in the builder that is used in a feedback or the text or the form by playexo.
I meant 2.0.0
+ by latest version, premier langage still run on the the first version.
Ok but we need an exemple of use in the before/evaluator syntax.