Tuesday, June 16, 2015

Re: Core error in showing records?

Hi MikeKJ,

I suppose the ModelAdmin subclass in use here has a list_display method marked as boolean that return an unexpected value.

Make sure it either return True, False or None.

Cheers,
Simon

Le mardi 16 juin 2015 09:11:12 UTC-4, MikeKJ a écrit :
Can anyone shed any light on what this is please?

Exception Type: TemplateSyntaxError
Exception Value:
Caught KeyError while rendering: 10
Exception Location: /home/paston3/webapps/bbus/lib/python2.7/django/contrib/admin/templatetags/admin_list.py in _boolean_icon, line 126

The effect is that the first 3 pages of 395 records show but page 4 (95 records) throws the above error

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cc725ab0-29d3-4a5e-b5f4-3070ff8f6a49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment