Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
2 changed files with 11 additions and 1 deletions
Showing only changes of commit 5b76654b7b - Show all commits

View File

@ -186,7 +186,10 @@ def scodoc7func(func):
arg_names = argspec.args
for arg_name in arg_names: # pour chaque arg de la fonction vue
# peut produire une KeyError s'il manque un argument attendu:
try:
v = req_args[arg_name]
except KeyError as exc:
raise ScoValueError(f"argument {arg_name} manquant") from exc
# try to convert all arguments to INTEGERS
# necessary for db ids and boolean values
try:

View File

@ -15,4 +15,11 @@
{% endif %}
</p>
<p style="margin-top: 32px;" class="help">
Si le problème persiste, merci de contacter le support ScoDoc via
<a class="stdlink" noreferer href="{{scu.SCO_DISCORD_ASSISTANCE|safe}}">
{{scu.SCO_DISCORD_ASSISTANCE}}
</a>
</p>
{% endblock %}