Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Alsijil
Commits
0d16d3cb
Verified
Commit
0d16d3cb
authored
4 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 91-add-task-for-checking-plausibility-of-data
parents
ba6eeed0
abfdb175
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!92
Resolve "Add task for checking plausibility of data"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/alsijil/views.py
+2
-1
2 additions, 1 deletion
aleksis/apps/alsijil/views.py
tox.ini
+3
-3
3 additions, 3 deletions
tox.ini
with
5 additions
and
4 deletions
aleksis/apps/alsijil/views.py
+
2
−
1
View file @
0d16d3cb
...
...
@@ -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.
"
))
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
3
−
3
View file @
0d16d3cb
[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]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment