blob: d7ab78a3825bbf83501928ccf78474f993e1000b [file] [log] [blame]
Tony Mack78174092013-04-07 20:17:38 -04001from django.http import Http404
2from rest_framework.views import APIView
3from rest_framework.response import Response
4from rest_framework import status
5
6from plstackapi.planetstack.models import Role
7
8
9class RoleListCreate(APIView):
10 """
11 List all roles or create a new role.
12 """
13
14 def post(self, request, format = None):
15 print request
16