1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00

Fix typos

This commit is contained in:
Mo 2022-02-13 20:05:29 +01:00
parent c2d5fc42d5
commit dfaba1cf3e
6 changed files with 12 additions and 6 deletions

6
.gitignore vendored
View file

@ -1,6 +1,12 @@
# Python
__pycache__
*.pyc
# VSCodium
.vscode
# Database
db/
# Server setup documentation
server_setup.adoc

View file

@ -72,7 +72,7 @@ This URL leads to the home page where you can login with this testing admin acco
* email: \admin@advlabdb.de
* password: admin
NOTE: Obeviously, the email address is fake.
NOTE: Obviously, the email address is fake.
== To-Do
@ -84,5 +84,5 @@ NOTE: Obeviously, the email address is fake.
* Logging
* Email integration + assistant reminder?
* Students code for getting information and giving feedback
* Licence (GNU AGPLv3?)
* License (GNU AGPLv3?)
* Privacy policy

View file

@ -128,7 +128,7 @@ class SecureAssistantModelView(CustomModelView):
"""
This method is NOT ALLOWED TO BE (completely) OVERWRITTEN!
This method uses the filter returned by queryFilter (which has to be implemented!) to prevent assistants
from modifing models not listed on their view by sending a POST request with a different id.
from modifying models not listed on their view by sending a POST request with a different id.
You can extend this method by implementing a custom on_model_change and then calling super().on_model_change within it.
"""
if is_created:

View file

@ -34,7 +34,7 @@ The type of the attributes can be seen in "DB.drawio". Some attributes have cons
### Part
- id
- number -> 1 / 2 / ...
- program_label -> BS / MS / BE / ... (for bachelor of science, master of sience, bachelor of education, etc.)
- program_label -> BS / MS / BE / ... (for bachelor of science, master of science, bachelor of education, etc.)
### Student
- student_number

View file

@ -2,7 +2,7 @@
After changing the documentation files with the `.adoc` extension in this directory, the script `update_docs.sh` has to be run to update the related html files in the directory `advlabdb/advlabdb/templates/docs`.
IMPORTANT: You have to `cd` into the `advlabdb/docs` directory where the script, this README and the documentation files with the `.adoc` extenstion are located before running the script!
IMPORTANT: You have to `cd` into the `advlabdb/docs` directory where the script, this README and the documentation files with the `.adoc` extension are located before running the script!
IMPORTANT: The packages `fd` (`find` alternative) and `asciidoctor` have to be installed!

View file

@ -11,7 +11,7 @@ Flask = ">=2.0.2"
Flask-SQLAlchemy = ">=2.5.1"
Flask-WTF = ">=1.0.0"
Flask-Security-Too = ">=4.1.2"
Flask-Admin = ">=1.5.8"
Flask-Admin = ">=1.6.0"
[tool.poetry.dev-dependencies]
flake8 = "*"