title: DetailView redirect not working in django
body: <p>I keep getting a reverse error when i try to redirect from a DetailView and CreateView. <strong><em>I keep getting object has no attribute pk</em></strong>. I have equally tried using : <strong>args=[str(self.id)])</strong> but i still get the error.</p>
  
  <pre><code>class check (DetailView)
    def get(self, request, *args, **kwargs):
          if...:
               return reverse('no_edit', kwargs={"pk": self.pk})
  </code></pre>