I have a weird problem. In production I can't see the user permissions list in Django admin and after opening the group edit page it shows nothing and page language transforms to another language.
I have some custom permission defined in app models.
What I have done:
Problem was from os default encoding , I had some unicod permission names in my table and it's wont load and error happened .
so I just add this three line in my wsgi.py
import sys reload(sys) sys.setdefaultencoding('utf8')