Skip to content

Upgrade to Python 3.13 and Django 6#125

Open
delitamakanda wants to merge 1 commit intomasterfrom
codex/update-project-to-python-1.13-and-django-6
Open

Upgrade to Python 3.13 and Django 6#125
delitamakanda wants to merge 1 commit intomasterfrom
codex/update-project-to-python-1.13-and-django-6

Conversation

@delitamakanda
Copy link
Copy Markdown
Owner

Summary

  • bump the stack to Python 3.13/Django 6 and refresh dependency versions to match
  • modernize project settings for Django 6 (pathlib paths, timezone handling, whitenoise storage, updated CORS configuration)
  • update URL routing to modern path/re_path usage and refresh documentation for the new runtime

Testing

  • Not run (environment not yet configured for Python 3.13/Django 6 dependencies)

Codex Task

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

BASE_DIR / 'static',
)

STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Replace removed STATICFILES_STORAGE in Django 6

The settings now declare STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage', but requirements pin the project to Django >=6.0a1. Django 6 removes the legacy STATICFILES_STORAGE/DEFAULT_FILE_STORAGE settings in favor of the STORAGES mapping, so keeping this line causes startup/staticfiles initialization to fail and prevents WhiteNoise from being used. Configure the STORAGES['staticfiles'] backend instead to keep the app running on the new Django version.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant