You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you have any plans to support Django Rest Framework?
I'm getting the following problem:
from rest_framework import serializers
class MySerializer(serializers.ModelSerializer):
pass
The mypy --strict output:
main\rest_api\serializers.py:1: error: Cannot find module named 'rest_framework'
main\rest_api\serializers.py:1: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
main\rest_api\serializers.py:4: error: Class cannot subclass 'ModelSerializer' (has type 'Any')
The text was updated successfully, but these errors were encountered:
Hi,
Do you have any plans to support Django Rest Framework?
I'm getting the following problem:
The
mypy --strict
output:The text was updated successfully, but these errors were encountered: