-
Notifications
You must be signed in to change notification settings - Fork 467
deps: update to django5 #6452
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
Merged
Merged
deps: update to django5 #6452
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
75ea651
update to django5
matthewelwell 29c5815
Update django-debug-toolbar
matthewelwell 392dd99
Update django-softdelete
matthewelwell 048bc69
remove uses of index_together
matthewelwell 8d185aa
move django-debug-toolbar to dev dependency and loosen dependency spe…
matthewelwell 98dda95
add rename index migrations
matthewelwell 4223e54
Add no-op migration needed for through model
matthewelwell 384497d
Typing fixes / ignore additions following django 5 upgrade
matthewelwell 65b0e0d
Replace uses of timezone.utc
matthewelwell bf2ccbb
Update djoser to 2.3.3
matthewelwell 79cf1ab
Use `.value` for enum following django upgrade
matthewelwell 0622b3f
Remove DEBUG from tests
matthewelwell 8a2e936
Replace other uses of timezone.utc
matthewelwell 93e20f3
Replace assertQuerysetEqual with assertQuerySetEqual
matthewelwell 18a3e5d
Add pragma no cover
matthewelwell 1054669
Remove unnecessary DEBUG value from test settings.
matthewelwell 07b1f64
Only rename index for postgres as per previous migration
matthewelwell f6c1c4c
Update flagsmith-common
matthewelwell e68f085
Poetry lock after rebase
matthewelwell 80de6a1
update django-debug-toolbar
matthewelwell 67f7303
Revert change to flagsmith-common
matthewelwell 5e485fa
Bump djoser again...
matthewelwell 211fc8f
temp: use auth-controller branch
matthewelwell b8c7230
Merge branch 'main' into deps/django-5-upgrade
matthewelwell fefa9f2
temp: update auth-controller to latest commit
matthewelwell 2e6fdf0
Merge branch 'main' into deps/django-5-upgrade
matthewelwell db82530
use flagsmith-auth-controller==0.2.0
matthewelwell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -66,5 +66,3 @@ | |
| """ | ||
|
|
||
| ENABLE_POSTPONE_DECORATOR = False | ||
|
|
||
| DEBUG = True | ||
This file contains hidden or 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
18 changes: 18 additions & 0 deletions
18
api/app_analytics/migrations/0007_rename_environment_id_created_at_index.py
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Generated by Django 5.2.9 on 2025-12-31 15:34 | ||
|
|
||
| from django.db import migrations | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ("app_analytics", "0006_add_labels"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.RenameIndex( | ||
| model_name="apiusageraw", | ||
| new_name="app_analyti_environ_b61cad_idx", | ||
| old_fields=("environment_id", "created_at"), | ||
| ), | ||
matthewelwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ] | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
28 changes: 28 additions & 0 deletions
28
api/environments/identities/migrations/0006_rename_environment_created_date_index.py
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Generated by Django 5.2.9 on 2025-12-31 15:29 | ||
| from common.migrations.helpers import PostgresOnlyRunSQL | ||
| from django.db import migrations | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ("identities", "0005_revert_sanitized_identifiers"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.SeparateDatabaseAndState( | ||
matthewelwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| state_operations=[ | ||
| migrations.RenameIndex( | ||
| model_name="identity", | ||
| new_name="environment_environ_341dc9_idx", | ||
| old_fields=("environment", "created_date"), | ||
| ), | ||
| ], | ||
| database_operations=[ | ||
| PostgresOnlyRunSQL( | ||
| 'ALTER INDEX "environments_identity_environment_id_created_date_idx" RENAME TO "environment_environ_341dc9_idx"', | ||
| reverse_sql='ALTER INDEX "environment_environ_341dc9_idx" RENAME TO "environments_identity_environment_id_created_date_idx"' | ||
| ) | ||
| ], | ||
| ) | ||
| ] | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.