saxix / django-adminactions
Showing 1 of 9 files from the diff.
Other files ignored by Codecov
tox.ini has changed.
setup.cfg has changed.
.flake8 has changed.
setup.py has changed.
tests/utils.py has changed.

@@ -14,7 +14,8 @@
Loading
14 14
from django.utils.timezone import get_default_timezone
15 15
from io import BytesIO
16 16
17 -
from . import compat
17 +
from adminactions import utils
18 +
18 19
from .utils import (clone_instance, get_field_by_path,
19 20
                    get_field_value, get_ignored_fields,)
20 21
@@ -56,7 +57,7 @@
Loading
56 57
57 58
    if related == ALL_FIELDS:
58 59
        related = [rel.get_accessor_name()
59 -
                   for rel in compat.get_all_related_objects(master)]
60 +
                   for rel in utils.get_all_related_objects(master)]
60 61
    # for rel in master._meta.get_all_related_objects(False, False, False)]
61 62
62 63
    if m2m == ALL_FIELDS:
@@ -263,7 +264,7 @@
Loading
263 264
        if hasattr(queryset, 'model'):
264 265
            for i, fieldname in enumerate(fields):
265 266
                try:
266 -
                    f, __, __, __, = compat.get_field_by_name(queryset.model, fieldname)
267 +
                    f, __, __, __, = utils.get_field_by_name(queryset.model, fieldname)
267 268
                    fmt = xls_options_default.get(f.name, xls_options_default.get(f.__class__.__name__, 'general'))
268 269
                    formats[i] = fmt
269 270
                except FieldDoesNotExist:
Files Coverage
src/adminactions 84.74%
Project Totals (23 files) 84.74%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading