# Path: api/views.py
# class GenericQueryModelViewSet(viewsets.ModelViewSet):
# class UserViewSet(GenericQueryModelViewSet):
# class LegislatorViewSet(GenericQueryModelViewSet):
# class MessageViewSet(viewsets.ModelViewSet):
#     def get_queryset(self):
#     def process_inbound_message(django_user, umi, msg, test=False):
#     def send(self, request):


from django.conf.urls import url, include
from api import views
from rest_framework import routers


router = routers.DefaultRouter()
router.register(r'^users', views.UserViewSet)
router.register(r'^legislators', views.LegislatorViewSet)

# Path: api/views.py
# class GenericQueryModelViewSet(viewsets.ModelViewSet):
# class UserViewSet(GenericQueryModelViewSet):
# class LegislatorViewSet(GenericQueryModelViewSet):
# class MessageViewSet(viewsets.ModelViewSet):
#     def get_queryset(self):
#     def process_inbound_message(django_user, umi, msg, test=False):
#     def send(self, request):


# Path: api/urls.py
from django.conf.urls import url, include
from api import views
from rest_framework import routers



router = routers.DefaultRouter()
router.register(r'^users', views.UserViewSet)
router.register(r'^legislators', views.LegislatorViewSet)

router.register(r'^messages', views.MessageViewSet)