Index: base/rest.py
===================================================================
--- base/rest.py	(revision a315c5f2242fd280f4e6662dfa833ba9ed7eef5b)
+++ base/rest.py	(revision a315c5f2242fd280f4e6662dfa833ba9ed7eef5b)
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+"""
+Sistema de Consulta PÃºblica
+
+Copyleft (@) 2017 CENDITEL nodo MÃ©rida - https://planificacion.cenditel.gob.ve/trac/wiki/ModeladoTopicos_2017
+"""
+## @package consulta.rest
+#
+# ViewSet (vistas de los rest) para el rest framework
+# @author Rodrigo Boet (rboet at cenditel.gob.ve)
+# @author <a href='http://www.cenditel.gob.ve'>Centro Nacional de Desarrollo e InvestigaciÃ³n en TecnologÃ­as Libres
+# (CENDITEL) nodo MÃ©rida - Venezuela</a>
+# @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versiÃ³n 2 (GPLv2)</a>
+# @version 1.0
+from base.models import Entidad
+from .serializers import EntidadSerializer
+from rest_framework import viewsets
+
+
+class EntidadViewSet(viewsets.ModelViewSet):
+    """
+    API endpoint that allows users to be viewed or edited.
+    """
+    queryset = Entidad.objects.all()
+    serializer_class = EntidadSerializer
Index: base/serializers.py
===================================================================
--- base/serializers.py	(revision a315c5f2242fd280f4e6662dfa833ba9ed7eef5b)
+++ base/serializers.py	(revision a315c5f2242fd280f4e6662dfa833ba9ed7eef5b)
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+from rest_framework import serializers
+from .models import Entidad
+
+
+class EntidadSerializer(serializers.HyperlinkedModelSerializer):
+
+    class Meta:
+        model = Entidad
+        fields = ('id', 'codigo', 'nombre')
Index: rest/routers.py
===================================================================
--- rest/routers.py	(revision e1c108ecf7deb9b4e627677b844c2ce1d1415618)
+++ rest/routers.py	(revision a315c5f2242fd280f4e6662dfa833ba9ed7eef5b)
@@ -15,6 +15,8 @@
 from rest_framework.routers import DefaultRouter
 from consulta.rest import ConsultaViewSet
+from base.rest import EntidadViewSet
 
 router = DefaultRouter()
 # ------------------------------------------
 router.register(r'consulta/(?P<token>.+)', ConsultaViewSet, 'consulta')
+router.register(r'entidad', EntidadViewSet, 'entidad')
Index: ers/serializers.py
===================================================================
--- users/serializers.py	(revision bbf40a25525d4f4c8c4336cea5e42baab2517b3b)
+++ 	(revision )
@@ -1,12 +1,0 @@
-# -*- coding: utf-8 -*-
-from rest_framework import serializers
-from django.contrib.auth.models import User
-
-
-
-class UserSerializer(serializers.HyperlinkedModelSerializer):
-
-    class Meta:
-        model = User
-        fields = ('id', 'username', 'email', 'first_name', 'last_name', 'is_superuser', 'is_staff',
-        'is_active', 'date_joined', 'last_login')
Index: users/urls.py
===================================================================
--- users/urls.py	(revision bbf40a25525d4f4c8c4336cea5e42baab2517b3b)
+++ users/urls.py	(revision a315c5f2242fd280f4e6662dfa833ba9ed7eef5b)
@@ -38,6 +38,3 @@
         {'template_name': 'user.passwordreset.end.html'},
         name='reset_end'),
-    ##### API REST URLS #####
-    url(r'^users/$', views.UsersList.as_view()),
-    url(r'^users/(?P<pk>[0-9]+)/$', views.UserDetail.as_view()),
 ]
Index: users/views.py
===================================================================
--- users/views.py	(revision bbf40a25525d4f4c8c4336cea5e42baab2517b3b)
+++ users/views.py	(revision a315c5f2242fd280f4e6662dfa833ba9ed7eef5b)
@@ -228,50 +228,2 @@
         
         return super(PerfilUpdate, self).form_valid(form)
-
-
-from django.http import HttpResponse
-from rest_framework.renderers import JSONRenderer
-from rest_framework.parsers import JSONParser
-from users.serializers import UserSerializer
-from rest_framework import viewsets
-from rest_framework.views import APIView
-from rest_framework.response import Response
-
-
-class UsersList(APIView):
-    """
-    List all Users
-    """
-    def get(self, request, format=None):
-        usuarios = User.objects.all()
-        serializer = UserSerializer(usuarios, many=True)
-        return Response(serializer.data)
-
-
-class UserDetail(APIView):
-    """
-    Retrieve, update or delete a user instance.
-    """
-    def get_object(self, pk):
-        try:
-            return User.objects.get(pk=pk)
-        except User.DoesNotExist:
-            raise Http404
-
-    def get(self, request, pk, format=None):
-        usuario = self.get_object(pk)
-        serializer = UserSerializer(usuario)
-        return Response(serializer.data)
-
-    def put(self, request, pk, format=None):
-        usuario = self.get_object(pk)
-        serializer = UserSerializer(usuario, data=request.data)
-        if serializer.is_valid():
-            serializer.save()
-            return Response(serializer.data)
-        return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
-
-    def delete(self, request, pk, format=None):
-        usuario = self.get_object(pk)
-        usuario.delete()
-        return Response(status=status.HTTP_204_NO_CONTENT)
