          'ADMIN_MEDIA_PREFIX': settings.ADMIN_MEDIA_PREFIX,
      }, context_instance=RequestContext(request))
  
  
  def api_logout(request, next_page=None, template_name='djangorestframework/api_login.html', redirect_field_name=REDIRECT_FIELD_NAME):
      return logout(request, next_page, template_name, redirect_field_name)
 
</s> remove def api_login(request, template_name='djangorestframework/api_login.html',
 </s> add def api_login(request, template_name='djangorestframework/login.html', </s> remove     {% extends "djangorestframework/base_renderer.html" %}
 </s> add     {% extends "djangorestframework/base.html" %} </s> remove You may customize the templates by creating a new template called ``djangorestframework/renderer.html``
in your project, extend ``djangorestframework/base_renderer.html`` and override the
 </s> add You may customize the templates by creating a new template called ``djangorestframework/api.html``
in your project, extend ``djangorestframework/base.html`` and override the </s> remove     template = 'djangorestframework/renderer.txt'
 </s> add     template = 'djangorestframework/api.txt' </s> remove     template = 'djangorestframework/renderer.html'
 </s> add     template = 'djangorestframework/api.html'
def api_logout(request, next_page=None, template_name='djangorestframework/login.html', redirect_field_name=REDIRECT_FIELD_NAME):
          'ADMIN_MEDIA_PREFIX': settings.ADMIN_MEDIA_PREFIX,
      }, context_instance=RequestContext(request))
  
  
def api_logout(request, next_page=None, template_name='djangorestframework/login.html', redirect_field_name=REDIRECT_FIELD_NAME):
      return logout(request, next_page, template_name, redirect_field_name)
keep keep keep keep replace keep
 Rename templates to 'base.html', 'api.html', 'api.txt' and 'login.html' 
djangorestframework/utils/staticviews.py