#34286: Class based views cause 404 on :view: directive.
-----------------------------------+------------------------------------
     Reporter:  Alex Life          |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  contrib.admindocs  |                  Version:  4.1
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

 * stage:  Unreviewed => Accepted


Comment:

 Thanks for the ticket. It was originally reported in the #27409 among
 other issues
 > ''"For views you can use generic class based views, in there by naming
 conventions can be capital letters. Class based views are classes and not
 methods and the naming of the view can be like `BlogView` or `BlogEdit`.
 But if generating link using the directives according to documentation it
 will not work since it will try to find view by name of `blogview` instead
 of `BlogView`. It will automatically put it to lowercase and may make it
 not working."''
 but I think it deserves a separate ticket.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34286#comment:1>
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/01070185e221ca4d-c62820d4-8503-44d7-b74a-7fb1ec3b16d8-000000%40eu-central-1.amazonses.com.

Reply via email to