-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 Reduce compatibility to Django 4.2
Remove compatibility for: - Django 2.2, 3.0, 3.1, 3.2, 4.0, 4.1 - Python 3.6, 3.7 General changes: - 💥 Reduce test coverage to Django 4.2 - ⬆️ Upgrade Ubuntu test suite runners 20.04 → 22.04 - 💥 Use Django 4.2 to build documentation - 💥 Adjust PyPI classifiers and versions - 🔧 Set pyupgrade to Python 3.8+ (remove Python 3.6, 3.7) - ✨ Add django-upgrade to Pre-Commit - 🔨 Simplify URL path in integration project Django Deprecations: - 💥 Replace force_text with force_str Deprecated in 2.0, deleted in 3.0. https://docs.djangoproject.com/en/stable/releases/2.0/#backwards-incompatible-changes-in-2-0 https://docs.djangoproject.com/en/stable/releases/3.0/#features-deprecated-in-3-0 - 💥 Remove default_app_config variable Deprecated in 3.2, removed in 4.1. https://docs.djangoproject.com/en/stable/releases/3.2/#features-deprecated-in-3-2 https://docs.djangoproject.com/en/stable/releases/4.1/#features-removed-in-4-1 - 💥 Remove USE_L10N Deprecated in 4.0, removed in 5.0. https://docs.djangoproject.com/en/stable/releases/4.0/#localization https://docs.djangoproject.com/en/stable/releases/5.0/#features-removed-in-5-0 PR #303
- Loading branch information
1 parent
2ff2ef4
commit a943e4c
Showing
12 changed files
with
28 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django>=3.2,<3.3 | ||
Django>=4.2,<4.3 | ||
factory-boy==3.3.0 | ||
Faker==26.1.0 | ||
Pygments==2.18.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,6 @@ | |
|
||
USE_I18N = True | ||
|
||
USE_L10N = True | ||
|
||
USE_TZ = True | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,7 +118,6 @@ | |
|
||
USE_I18N = True | ||
|
||
USE_L10N = True | ||
|
||
USE_TZ = True | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
"""Integration project URL Configuration""" | ||
|
||
from django.contrib import admin | ||
from django.urls import re_path | ||
from django.urls import path, re_path | ||
from django.views.generic import TemplateView | ||
|
||
urlpatterns = [ | ||
re_path(r"^admin/", admin.site.urls), | ||
re_path( | ||
r"^$", TemplateView.as_view(template_name="home.html"), name="home" | ||
), | ||
path("", TemplateView.as_view(template_name="home.html"), name="home"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,7 +114,6 @@ | |
|
||
USE_I18N = True | ||
|
||
USE_L10N = True | ||
|
||
USE_TZ = True | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters