Hi Anoop,

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.

Yours,
Russ Magee %-)

On Tue, Apr 21, 2015 at 11:39 AM, Anoop Thomas Mathew <[email protected]> wrote:
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAJxq848Yh347zvA0E%2BTHsLeddXHoQDk9QFKOM5p6kyk6jwfq-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to