Commits

Matthew Schinckel  committed f54ac42

Make ApiView subclass TemplateView.

  • Participants
  • Parent commits bfee822

Comments (0)

Files changed (1)

File repose/views.py

 import hashlib
 
-from django.views.generic import View
+from django.views.generic import View, TemplateView
 from django.views.generic.base import TemplateResponseMixin
 from django.views.generic.list import MultipleObjectMixin
 from django.views.generic.detail import SingleObjectMixin
 from repose.forms import BaseApiModelForm
 from repose.models import log_action, ADDITION, CHANGE, DELETION
 
-class ApiView(View):
+class ApiView(TemplateView):
     """
     The base class for views that use the repose.API framework.