Skip to content
Snippets Groups Projects
Verified Commit 0d16d3cb authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'master' into 91-add-task-for-checking-plausibility-of-data

parents ba6eeed0 abfdb175
No related branches found
No related tags found
1 merge request!92Resolve "Add task for checking plausibility of data"
......@@ -124,7 +124,8 @@ def lesson(
if lesson_documentation_form.is_valid() and request.user.has_perm(
"alsijil.edit_lessondocumentation", lesson_period
):
lesson_documentation_form.save()
with reversion.create_revision():
lesson_documentation_form.save()
messages.success(request, _("The lesson documentation has been saved."))
......
[tox]
skipsdist = True
skip_missing_interpreters = true
envlist = py37,py38
envlist = py37,py38,py39
[testenv]
whitelist_externals = poetry
......@@ -22,8 +22,8 @@ setenv =
[testenv:lint]
commands =
- poetry run black --check --diff aleksis/
- poetry run isort -c --diff --stdout aleksis/
poetry run black --check --diff aleksis/
poetry run isort -c --diff --stdout aleksis/
poetry run flake8 {posargs} aleksis/
[testenv:security]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment