#14175: Comment object's user_name field too short for User.get_full_name -------------------------------------+-------------------------------------- Reporter: gravm | Owner: nobody Status: new | Milestone: Component: django.contrib.comments | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | -------------------------------------+-------------------------------------- [9118] introduced a bug where a comment can't be saved because User.get_full_name() returns a name that's more than 50 characters (the limit set by the Comment model). By default, User.first_name and User.last_name both allow up to 30 characters. User.get_full_name() returns the concatenation of first_name and last_name with a space in between, so it's possible for that method to return a 61 character string. On possible fix is to change the Comment.user_name field to allow 61 characters.
-- Ticket URL: <http://code.djangoproject.com/ticket/14175> Django <http://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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
