Monday, November 26, 2012

Re: django 1.6.0: admin pages not using unicode methods declared in my model

Yes, I'm using python 3. I think there is no ticket for this yet, but I would prefer someone with better english and more time using django posted it.

On Monday, November 26, 2012 1:38:04 PM UTC-3, bak1an wrote:
No need for that. I've reproduced your problem. With python 3 __unicode__ method is ignored.

We should search for corresponding ticket on trac, or create new one.

On Mon, Nov 26, 2012 at 6:31 PM, Anton Baklanov <antonb...@gmail.com> wrote:
Hi. I've just checked - it uses __unicode__() to display object names.

Please show us your full admin.py and models.py

--
Regards,
Anton Baklanov




--
Regards,
Anton Baklanov

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/eppiP4aM_VoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment