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

Update django to version 5 #801

Merged
merged 3 commits into from
Apr 3, 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
10 changes: 5 additions & 5 deletions applications/urls.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from django.conf.urls import url
from django.urls import path
from django.views.generic import TemplateView

from applications import views

app_name = "application"

urlpatterns = [
url(r"^$", views.ApplicationInfoView.as_view(), name="application_info"),
url(r"^application", views.ApplicationView.as_view(), name="application_form"),
url(
r"^success",
path("", views.ApplicationInfoView.as_view(), name="application_info"),
path("application", views.ApplicationView.as_view(), name="application_form"),
path(
"success",
TemplateView.as_view(template_name="applications/application_success.html"),
name="application_success",
),
Expand Down
12 changes: 6 additions & 6 deletions news/urls.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from django.conf.urls import url
from django.urls import path

from . import views

app_name = "news"
urlpatterns = [
url(r"^$", views.ArticleListView.as_view(), name="all"),
url(r"^(?P<pk>[0-9]+)/$", views.ArticleView.as_view(), name="details"),
url(r"^(?P<pk>[0-9]+)/edit", views.ArticleUpdateView.as_view(), name="edit"),
url(r"^new", views.ArticleCreateView.as_view(), name="new"),
url(r"^(?P<pk>[0-9]+)/delete", views.ArticleDeleteView.as_view(), name="delete"),
path("", views.ArticleListView.as_view(), name="all"),
path("<int:pk>", views.ArticleView.as_view(), name="details"),
path("<int:pk>/edit", views.ArticleUpdateView.as_view(), name="edit"),
path("new", views.ArticleCreateView.as_view(), name="new"),
path("<int:pk>/delete", views.ArticleDeleteView.as_view(), name="delete"),
]
28 changes: 14 additions & 14 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
pre-commit==2.15.0
Django==3.2.24
pre-commit==3.6.2
Django==5.0.3
django-ckeditor==6.2.0
coverage==6.3.2
sorl-thumbnail==12.8.0
coverage==7.4.4
sorl-thumbnail==12.10.0
python-coveralls==2.9.3
djangorestframework==3.13.1
django-filter==21.1
Markdown==3.3.6
Pillow==9.5.0
djangorestframework==3.14.0
django-filter==24.1
Markdown==3.6
Pillow==10.2.0
python-dataporten-auth==2.0.0
social-auth-app-django==5.0.0
rapidfuzz==1.8.2
django-ical==1.8.3
django-markdownx==3.0.1
bleach==5.0.1
social-auth-app-django==5.4.0
rapidfuzz==3.6.2
django-ical==1.9.2
django-markdownx==4.0.7
bleach==6.1.0
bleach-whitelist==0.0.11
django-crontab==0.7.1
django-ordered-model==3.6
django-ordered-model==3.7.4
1 change: 0 additions & 1 deletion website/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@
)

USE_I18N = True
USE_L10N = True
Copy link
Member Author

@CJGutz CJGutz Apr 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecated in django 4

USE_TZ = False
DATE_FORMAT = "d. F Y"

Expand Down