erdem / django-admino

Admino is a django package that provides a REST API for admin endpoints.
MIT License
205 stars 25 forks source link

__str__ in field_names #4

Open openmartin opened 8 years ago

openmartin commented 8 years ago

I found str in field_names site.py[141 line] cause unicode error and type error

So I add

field_names.remove("__str__") 

I am using python 2.7, is this the problem?

erdem commented 8 years ago

Yes, that's should be a python 3 compatibility issue. We need to implement a fallback for this logic.