#34997: The name argument is ignored when creating url path using the include()
function.
------------------------------+----------------------------------------
     Reporter:  Sangwoon Yun  |                    Owner:  Sangwoon Yun
         Type:  Bug           |                   Status:  closed
    Component:  Core (URLs)   |                  Version:  4.2
     Severity:  Normal        |               Resolution:  invalid
     Keywords:  ulrs, path    |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+----------------------------------------
Changes (by Mariusz Felisiak):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Thanks for this ticket, however I'm not sure how `name` could work for
 `path()` in `include()`. `name` and `app_name` are two different things,
 if you want to define `app_name` when calling `include()` you should pass
 a tuple, check out
 [https://docs.djangoproject.com/en/stable/ref/urls/#django.urls.include
 docs].

 If you're having trouble understanding how it works, see
 TicketClosingReasons/UseSupportChannels for ways to get help.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34997#comment:2>
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/0107018c1a18829f-3aa77377-72ed-4b1a-b3fc-5a4ebc1e1c02-000000%40eu-central-1.amazonses.com.

Reply via email to