Releases: openedx/edx-django-utils
Releases · openedx/edx-django-utils
Add read-only admin mixin.
- Added mixin for a custom Django admin class which disables CRUD operation on the admin's model.
- Script new_relic_nrql_search.py to search the NRQL in New Relic alert policies and dashboards using a supplied regex.
Add code_owner_squad and other clean up
Note: Breaking changes should not affect anyone.
See https://github.com/edx/edx-django-utils/blob/master/CHANGELOG.rst#400---2021-05-03 for details.
feat: add `pluggable_override` decorator
3.16.0 docs: update version number and changelog
Added utity to Slice a queryset into chunks.
The function slices a queryset into smaller QuerySets containing chunk_size objects and then yields them. It is
used to avoid memory error when processing huge querysets, and also to avoid database errors due to the
database pulling the whole table at once. Additionally, without using a chunked queryset, concurrent database
modification while processing a large table might repeat or skip some entries.
Added record_exception
enable code_owner for celery tasks
Refactored monitoring app
Added logging filters for user and remote IP
Added a new logging utility providing two logging filter classes:
- RemoteIpFilter - This filter tries to get the remote IP from the current request context so that it can be added to log statements through interpolation
- UserIdFilter - This filter tries to get the LMS user id from the current request context so that it can be added to log statements through interpolation