Skip to content
Open
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
2 changes: 1 addition & 1 deletion examples/django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
django>=2.2.1
django>=4.2.28
Copy link

Choose a reason for hiding this comment

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

Django 4.x removed url function breaks import

High Severity

Upgrading Django to >=4.2.28 breaks compatibility with existing code. The examples/django/proj/urls.py imports url from django.urls, but this function was deprecated in Django 3.1 and removed entirely in Django 4.0. After this upgrade, the application will crash at startup with ImportError: cannot import name 'url' from 'django.urls'. The url() function needs to be replaced with re_path() for regex patterns, or the import needs to be removed if unused.

Fix in Cursor Fix in Web

sqlalchemy>=1.0.14
celery>=5.0.5
Loading