Top "Django-serializer" questions

Django provides serializers for serializing models into common data formats such as JSON and XML.

how to mention password field in serializer?

I have a custom user for authentication and want to create a serializer class for it my custom user's model …

python django django-rest-framework django-serializer
django serialize foreign key objects

Serialize django model with foreign key models Serializing Foreign Key objects in Django get foreign key objects in a single …

python django django-models django-serializer
Django Serializer AttributeError: 'unicode' object has no attribute 'isoformat'

I'm trying to serialize an instance of a (customized) Django User Model like so: In models.py: Class Employee(User): …

django django-serializer
Django Rest Framework How to update SerializerMethodField

I have a serializer like this: class PersonSerializer(serializers.ModelSerializer): gender = serializers.SerializerMethodField() bio = BioSerializer() class Meta: model = Person fields = …

python django django-rest-framework django-serializer
permission classes IsAuthenticated not working in DRF

I've used token authentication, and it's working fine i.e. it is authenticating a user and then the user is …

django-rest-framework django-authentication django-serializer auth-token