SystemCheckError: (admin.E111)

36 views
Skip to first unread message

Amit Mishra

unread,
Sep 13, 2017, 10:23:20 AM9/13/17
to Django users
Hey,

I am using python=  3.5 and
Django=  1.10.2

If I am running for the makemigrations --    $  python3 manage.py makemigrations

OR 

Starting server --   $ python3 manage.py runserver 0.0.0.0:8000

Its returning errors for SystemCheckError

.../mydjangoproject# python3 manage.py makemigrations
SystemCheckError: System check identified some issues:

ERRORS:
<class 'clustr.maps.reveals.admin.RevealRequestAdmin'>: (admin.E111) The value of 'list_display_links[0]' refers to 'None', which is not defined in 'list_display'.
<class 'clustr.users.admin.UserLocationHistoryAdmin'>: (admin.E111) The value of 'list_display_links[0]' refers to 'None', which is not defined in 'list_display'.


And same errors for the runserver.

Please help How can I resolve this. 

Melvyn Sopacua

unread,
Sep 13, 2017, 10:34:55 AM9/13/17
to django...@googlegroups.com
What's not clear about the error?

There are two admin classes that have invalid list_display_links values.

The format is documented:
https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display_links

And chances are you have:

list_display_links = (None, ) # notice the () and comma

If this isn't your software, consult the documentation of that
software - you probably have something not configured correctly.
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a14ca186-079a-4cf3-808f-f8442b6353bf%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Melvyn Sopacua
Reply all
Reply to author
Forward
0 new messages