text: """Circles Views."""
  
  # Django REST Framework
  from rest_framework.decorators import api_view
  from rest_framework.response import Response
  
  # Models
  from cride.circles.models import Circle
  
  # Serializers
  from cride.circles.serializers import CircleSerializer, CreateCircleSerializer
  
  
  @api_view(['GET'])
  def list_circles(request):
      """Lists Circles."""
      circles = Circle.objects.filter(is_public=True)
      serializer = CircleSerializer(circles, many=True)
      return Response(serializer.data)
  
  @api_view(['POST'])
  def create_circle(request):
      """Create Circle."""
      serializer = CreateCircleSerializer(data=request.data)
      serializer.is_valid(raise_exception=True)
      circle = serializer.save()
      return Response(CircleSerializer(circle).data)
  