title: django rest framework get vieset by route basename
body: <p>A basic class based view in django gives view name by</p>
  <pre><code>reslove(reverse(&quot;url-name&quot;)).func
  </code></pre>
  <p>But is there anyway I get viewset name by route basename. When I try <code>reverse(&quot;basename&quot;)</code> I get errors.</p>