Skip to content

Commit

Permalink
Split admin tests, add annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Eg0ra committed Nov 5, 2024
1 parent ee36ac6 commit 7217961
Show file tree
Hide file tree
Showing 14 changed files with 1,169 additions and 1,092 deletions.
3 changes: 2 additions & 1 deletion import_export_extensions/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from django.core.files import File
from django.core.files.storage import default_storage
from django.db.models import Model, Q, QuerySet
from django.db.models.fields.files import FieldFile
from django.forms import ValidationError
from django.utils.encoding import smart_str

Expand Down Expand Up @@ -294,7 +295,7 @@ def __init__(self, filename: str):

def render(
self,
value: Model | None,
value: FieldFile | None,
obj=None,
**kwargs,
) -> str | None:
Expand Down
Loading

0 comments on commit 7217961

Please sign in to comment.