Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = '__all__' to the Item Serializers serializer.",)

Imam-Zamana answered on September 2, 2022 Popularity 8/10 Helpfulness 6/10

Contents


More Related Answers

  • django serializer exclude fields
  • serializers.py include all fields
  • how to allow only for create field in serializer
  • create custom field in drf modelserializer
  • django rest framework use all and extend fields in a serializer
  • AttributeError: module 'rest_framework.serializers' has no attribute 'ModelSerializers'
  • AttributeError: module 'rest_framework.serializers' has no attribute 'ModelSerializers'

  • ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = '__all__' to the Item Serializers serializer.",)

    1
    Popularity 8/10 Helpfulness 6/10 Language python
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Sep 02 2022
    Imam-Zamana
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.