RelatedField is function of serializer class


When learning django-rest-framework, all the other serializers like PrimaryKeyRelatedField were represented as serializers.PrimaryKeyRelatedField so just updating the base RelatedField to match the syntax.