#25473: Consistently use dashes instead of underscores in URL names
--------------------------------------+------------------------------------
Reporter: guettli | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by wimfeijen):
Hi guys,
My preference would be to use underscores in stead of dashes, because we
are coupling urls to views, and in function based views, view names always
use underscores instead of dashes.
My personal preference is to have url names, view names and template names
the same, all using underscores.
My url patterns tend to differ anyway, containing dashes, slug regexes and
such.
--
Ticket URL: <https://code.djangoproject.com/ticket/25473#comment:7>
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/065.bb7096867e44783017e4ded526b03a95%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.