December 2019

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

Hide apps that an `is_staff` user has no permission for in the Django admin — override `get_app_list` to filter the visible app list.

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

Fix `from_db_value() missing 1 required positional argument: 'context'` on custom Django fields after upgrading to Django 3 — adapt to the removed `context` arg.

Categories

Archive