Skip to content

Commit

Permalink
fixup! fixup! Add better support for ManyToManyField's through model
Browse files Browse the repository at this point in the history
  • Loading branch information
flaeppe committed Sep 17, 2023
1 parent 6e2bdc0 commit d49d252
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions mypy_django_plugin/django/context.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
import os
import sys
from collections import defaultdict
from collections.abc import Mapping
from contextlib import contextmanager
from typing import TYPE_CHECKING, Any, Dict, Iterable, Iterator, Literal, Optional, Sequence, Set, Tuple, Type, Union
from typing import (
TYPE_CHECKING,
Any,
Dict,
Iterable,
Iterator,
Literal,
Mapping,
Optional,
Sequence,
Set,
Tuple,
Type,
Union,
)

from django.core.exceptions import FieldDoesNotExist, FieldError
from django.db import models
Expand Down

0 comments on commit d49d252

Please sign in to comment.