blob: d7ab78a3825bbf83501928ccf78474f993e1000b [file] [log] [blame]
from django.http import Http404
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import status
from plstackapi.planetstack.models import Role
class RoleListCreate(APIView):
"""
List all roles or create a new role.
"""
def post(self, request, format = None):
print request