#26661: Why not using AppConfig's name attribute instead of app_name in urls.py?
-------------------------------+--------------------
     Reporter:  john-bonachon  |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Core (Other)   |    Version:  1.9
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 In Django 1.9 you can namespace your urls by adding {{{app_name}}} in
 urls.py

 If the name will (generally) be the same as the containing module app, why
 not just call it like that, or at least reusing the AppConfig name
 attribute from apps.py?

 Am I missing something? That's confusing when you are reading the tutorial
 for the first time.

--
Ticket URL: <https://code.djangoproject.com/ticket/26661>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/056.952407a8843c39340dfc829ead0a5883%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to