#31796: DetailView Instance running twice for single rendering
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  rehanabdul                         |
                   Type:  Bug        |         Status:  new
              Component:  Generic    |        Version:  3.0
  views                              |       Keywords:  DetailView, Running
               Severity:  Normal     |  Twice
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 I have a view class which extends the DetailView class. when I hit the url
 for the view class method are running twice getting 2 outputs.
 views.py


 {{{
 class PortfolioDetailedView(DetailView):
     model = Portfolio
 }}}

 output for a single url hit
 {{{
 [17/Jul/2020 21:05:30] "GET /portfolio/detail/test2/ HTTP/1.1" 200 14893
 [17/Jul/2020 21:05:31] "GET /portfolio/detail/test2/ HTTP/1.1" 200 14893
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31796>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.0c8c65c626885840b87a2d17d5fc1043%40djangoproject.com.

Reply via email to