Commit 128d69da authored by Robert's avatar Robert
Browse files

Add serializers file

parent 33325bf7
from rest_framework import serializers
from commoning.models import Need
class NeedSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Need
fields = ['title', 'description']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment