title: Django REST Framework - NoReverseMatch when using reverse()
body: <p>I've been trying to return some URLs using the reverse() function, but no matter what, I get a NoReverseMatch exception:</p>
  
  <pre><code>Reverse for 'folder' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
  </code></pre>
  
  <p>For the sake of troubleshooting, I created some dumbed-down code, but it STILL won't work. Here's my view:</p>
  
  <pre><code>from rest_framework.response import Response
  from rest_framework.reverse import reverse
  from rest_framework.views import APIView
  
  class Folder(APIView):
      def get(self, request, format=None):
          return Response({'url': reverse('folder', request=request)})
  </code></pre>
  
  <p>Here's my URL pattern:</p>
  
  <pre><code>from django.conf.urls import url
  from rest_framework.urlpatterns import format_suffix_patterns
  from music import views
  
  urlpatterns = format_suffix_patterns([
      url(r'^folder/$', views.Folder.as_view(), name='folder')])
  </code></pre>