REG: get_display_name function in the User model
Hi, Would like to get the views from the community on get_display_name() function in User model. This will be an advanced version of get_full_name() function which returns either the Firstname Lastname if available or fall-back gracefully to email and then to username; implemented in the django.contrib.auth.model.User model. Ticket: https://code.djangoproject.com/ticket/24640 Pull Request: https://github.com/django/django/pull/4506 regards, Anoop Thomas Mathew +91 999 53 44 675 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAENdBjQcc5fWvRBggf-YyVUx5JdzK9Do9XmFNzB%3Dt8tC0srL_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: REG: get_display_name function in the User model
Point noted Russell. Thank You for your comment. On 21 April 2015 at 09:49, Russell Keith-Magee wrote: > > I agree with Tim and Markus' comments - you're proposing to implement > a specific behavior where there is no "clearly right" answer. This > strikes me as something that is entirely site-dependent logic. You > don't even need a custom user model - a template tag (or even a > filter) could do this for you if it's a common enough case for you. > regards, Anoop Thomas Mathew +91 999 53 44 675 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAENdBjR0xJLJWXnGB913pMcbp8MY4Xf0QOswkJ6ya1i8bbFuYQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Ticket #22355: Humanize timedelta objects in Templates
Hi All, I've created a ticket along with the patch, tests and docs for a filter for humanizing timedelta objects on django templates. Please find the concerned ticket here: https://code.djangoproject.com/ticket/22355 It would be awesome if any of the generous committers could review it and advice as needed. Thanks, Anoop -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/50717c0c-567b-440b-af59-798911f42a71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.