You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phase 1, still on Django 4.2, updated the code to be compatible with 5.2.
* askbot/deployment/templates/settings_py.jinja2:
- added STORAGES setting, removed DEFAULT_FILE_STORAGE
* askbot/deps/group_messaging/signals.py:
- removed providing_args kwarg from the custom signal definitions
* askbot/deps/group_messaging/urls.py:
- import re_path as url, remove legacy try/except url imports
* askbot/doc/source/changelog.rst: added entry re: migration to django 5.2
* askbot/doc/source/optional-modules.rst:
- described migration of DEFAULT_FILE_STORAGE -> STORAGES config
* askbot/importers/stackexchange/{models,parse_models}.py:
- replaced usage of NullBooleanField with BooleanField(null=True)
* askbot/startup_procedures.py:
- extract staticfiles storage from the STORAGES setting
* askbot/tests/test_startup_procedures.py:
- added tests for the get_staticfiles_backend function to
assert that it works with both legacy STATICFILES_STORAGE
and the STORAGES configs (i.e. that it works with the old format
of Django 4.2 and 5.4 settings.py)
* docker/extra_settings.py: minor edit
* testproject/testproject/settings.py:
- migrated to STORAGES setting
- added DEFAULT_AUTO_FIELD setting to use the 32 bit AutoField
* testproject/testproject/urls.py:
- import urls functions from the modern canonical locations, removed
try/except import fallbacks
- removed the legacy rosetta app urls
0 commit comments