Did I find the right examples for you? yes no

All Samples(488)  |  Call(0)  |  Derive(0)  |  Import(488)

src/d/j/django-rest-framework-docs-HEAD/cigar_example/cigar_example/restapi/serializers.py   django-rest-framework-docs(Download)
from rest_framework import serializers
from rest_framework import fields
from cigar_example.app import models
from django.db.models.base import get_absolute_url
 

src/d/j/django-roa-HEAD/examples/django_rest_framework/backend/backend/api/serializers.py   django-roa(Download)
from rest_framework import serializers
from .models import Account, Reporter, Article, Tag
 
 
#

src/d/j/django-roa-HEAD/examples/django_rest_framework/frontend/frontend/serializers.py   django-roa(Download)
from rest_framework import serializers
from .models import Account, Reporter, Article, Tag
 
 
#

src/d/j/django-websocket-request-example-HEAD/snippets/serializers.py   django-websocket-request-example(Download)
from rest_framework import serializers
from snippets.models import Snippet
 
 
class SnippetSerializer(serializers.ModelSerializer):

src/d/j/django-api-rest-and-angular-HEAD/example/api/serializers.py   django-api-rest-and-angular(Download)
from rest_framework import serializers
 
from .models import User, Post, Photo
 
 

src/c/o/complex-ember-data-example-HEAD/codecamp/ember/serializers.py   complex-ember-data-example(Download)
from rest_framework import serializers
from codecamp.ember.models import Session, Speaker, Rating, Tag, Association, Sponsor, Persona, Company, User
 
class AssociationSerializer(serializers.ModelSerializer):
    speakers = serializers.ManyPrimaryKeyRelatedField()

src/n/e/newfies-dialer-HEAD/newfies/agent/api_views.py   newfies-dialer(Download)
from rest_framework.response import Response
from rest_framework.authtoken.models import Token
from rest_framework import serializers
 
from dialer_campaign.models import Subscriber

src/z/a/zamboni-HEAD/mkt/webapps/views.py   zamboni(Download)
 
import commonware
from rest_framework import exceptions, response, serializers, status, viewsets
from rest_framework.decorators import action
from rest_framework.response import Response

src/d/j/django-bulbs-0.1.5/bulbs/videos/api.py   django-bulbs(Download)
from django.conf import settings
 
from rest_framework import serializers
from rest_framework import fields
from rest_framework import viewsets

src/z/a/zamboni-HEAD/mkt/collections/views.py   zamboni(Download)
from PIL import Image
 
from rest_framework import generics, serializers, status, viewsets
from rest_framework.decorators import action, link
from rest_framework.exceptions import ParseError

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next