Skip to content

Updated django, third party version. #550

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Antoliny0919
Copy link
Contributor

No description provided.

@@ -2,7 +2,7 @@

from django import forms
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ugettext_lazy deprecated v3.0

Screenshot 2025-06-12 at 8 42 10 PM

@@ -3,7 +3,7 @@
from django.contrib.contenttypes.models import ContentType
from django.http import Http404, HttpResponse, HttpResponseBadRequest, HttpResponseNotAllowed, HttpResponseRedirect
from django.shortcuts import get_object_or_404
from django.utils.http import is_safe_url
from django.utils.http import url_has_allowed_host_and_scheme
Copy link
Contributor Author

@Antoliny0919 Antoliny0919 Jun 12, 2025

Choose a reason for hiding this comment

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

is_safe_url deprecated v3.0

Screenshot 2025-06-12 at 8 42 49 PM

@Antoliny0919
Copy link
Contributor Author

Antoliny0919 commented Jun 12, 2025

Hello! @chriswedgwood, @carltongibson 🙌
I feel that we need to upgrade the Django version and third-party library versions before proceeding with other tasks.
This is my first time working on an old project, so I don’t have any experience with this kind of task.
I want to migrate the versions as stably as possible.
Could you possibly offer some advice?
(How should I proceed with the version upgrade?)

I understand that it's ideal to upgrade versions incrementally, but due to interdependencies between libraries, it seems I have to modify the versions of multiple libraries at once.

When this change is applied, the server runs, but there are issues with the social login functionality. (There are also some problems with the tests.)
Additionally, there might be issues in areas I haven’t reviewed yet.

I apologize for bothering you when you’re busy, and I’m sorry for mentioning you out of the blue. 😥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant