#28340: USE_THOUSAND_SEPARATOR=True causes primary key to include commas
-------------------------------------+-------------------------------------
Reporter: Zach Borboa | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Template system | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => wontfix
* component: Uncategorized => Template system
* type: Uncategorized => Cleanup/optimization
Comment:
Use the
[https://docs.djangoproject.com/en/dev/topics/i18n/formatting/#unlocalize
unlocalize] template filter, e.g. `{% load l10n %} {{ obj.pk|unlocalize
}}`. I don't think some automatic behavior would be desirable considering
there could be cases where you want a localized value.
--
Ticket URL: <https://code.djangoproject.com/ticket/28340#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 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/068.4e0fa8eceb142c771132ebdc1de5cc1e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.