Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verify the login dict in the form #265

Merged
merged 4 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module that defines some basic properties of the app.
"""

from django.contrib import admin
from .models import Impressum

Expand Down
1 change: 1 addition & 0 deletions frontend/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module that configues the app.
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions frontend/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module that connects the view functions with a specific path url.
"""

from django.urls import path
from frontend import views

Expand Down
1 change: 1 addition & 0 deletions frontend/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Module that defines the user api.
"""

from datetime import datetime
import uuid
import json
Expand Down
76 changes: 38 additions & 38 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ django-allauth = "^0.61.1"
dj-database-url = "^2.1.0"
python-decouple = "^3.8"
django-csp = "^3.7"
django-qlued = "^0.1.0"
django-qlued = "^0.2.0"


[tool.poetry.group.prod]
Expand All @@ -36,7 +36,7 @@ mike = "^2.0.0"
django-stubs = {version = "^4.2.3", extras = ["compatible-mypy"]}
pylint = "^3.0.3"
pylint-django = "^2.5.5"
black = "^23.7.0"
black = "^24.1.0"
pre-commit = "^3.6.0"

[build-system]
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dj-database-url==2.1.0 ; python_version >= "3.10" and python_version < "4.0"
django-allauth==0.61.1 ; python_version >= "3.10" and python_version < "4.0"
django-csp==3.7 ; python_version >= "3.10" and python_version < "4.0"
django-ninja==1.1.0 ; python_version >= "3.10" and python_version < "4.0"
django-qlued==0.1.1 ; python_version >= "3.10" and python_version < "4.0"
django-qlued==0.2.0 ; python_version >= "3.10" and python_version < "4.0"
django==5.0.2 ; python_version >= "3.10" and python_version < "4.0"
dnspython==2.5.0 ; python_version >= "3.10" and python_version < "4.0"
dropbox==11.36.2 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -26,16 +26,16 @@ pyjwt[crypto]==2.8.0 ; python_version >= "3.10" and python_version < "4.0"
pymongo==4.6.1 ; python_version >= "3.10" and python_version < "4.0"
python-decouple==3.8 ; python_version >= "3.10" and python_version < "4.0"
python3-openid==3.2.0 ; python_version >= "3.10" and python_version < "4.0"
pytz==2023.4 ; python_version >= "3.10" and python_version < "4.0"
pytz==2024.1 ; python_version >= "3.10" and python_version < "4.0"
regex==2023.12.25 ; python_version >= "3.10" and python_version < "4.0"
requests-oauthlib==1.3.1 ; python_version >= "3.10" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.10" and python_version < "4.0"
setuptools==69.0.3 ; python_version >= "3.10" and python_version < "4.0"
setuptools==69.1.0 ; python_version >= "3.10" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.10" and python_version < "4.0"
sqlparse==0.4.4 ; python_version >= "3.10" and python_version < "4.0"
sqooler==0.5.0 ; python_version >= "3.10" and python_version < "4.0"
stone==3.3.1 ; python_version >= "3.10" and python_version < "4.0"
typing-extensions==4.9.0 ; python_version >= "3.10" and python_version < "4.0"
tzdata==2023.4 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
tzdata==2024.1 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
urllib3==2.2.0 ; python_version >= "3.10" and python_version < "4.0"
whitenoise==6.6.0 ; python_version >= "3.10" and python_version < "4.0"
8 changes: 4 additions & 4 deletions templates/frontend/add_storage_provider.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Fill out the following</h2>
{% if form.storage_type.errors %}
<ul>
{% for error in form.storage_type.errors %}
<li>{{ error }}</li>
<li class="text-danger">{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
Expand All @@ -31,7 +31,7 @@ <h2>Fill out the following</h2>
{% if form.name.errors %}
<ul>
{% for error in form.name.errors %}
<li>{{ error }}</li>
<li class="text-danger">{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
Expand All @@ -40,7 +40,7 @@ <h2>Fill out the following</h2>
{% if form.description.errors %}
<ul>
{% for error in form.description.errors %}
<li>{{ error }}</li>
<li class="text-danger">{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
Expand All @@ -50,7 +50,7 @@ <h2>Fill out the following</h2>
{% if form.login.errors %}
<ul>
{% for error in form.login.errors %}
<li>{{ error }}</li>
<li class="text-danger">{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
Expand Down
Loading