December 2019

2019-12-30 12:27 (6 years ago)
対応方法 for Cross-Origin Session Cookies Not Being Sent After Upgrading to Django 3

By default, Django 3 sets `SESSION_COOKIE_SAMESITE` to 'Lax' in the settings.

Django
2019-12-25 06:14 (6 years ago)
Upgrading to Django 3: from_db_value() missing 1 required positional argument: 'context' Error Occurs

If you encounter the error "TypeError: from_db_value() missing 1 required positional argument: 'context'", it indicates that there is an issue with the `from_db_value` method in Django. In Django 3, the arguments for the `from_db_value` method in model fields have been changed.

Categories

Archive