mkoistinen / staff-app-demo

These are the applications that were integrated during the screencasts on YouTube and the Google+ community.
44 stars 16 forks source link

Staff Object and Seniority Object #7

Open leety opened 7 years ago

leety commented 7 years ago

I have having issue with the label display on the admin site.

I was able to complete adding the Staff app to my dhango CMS, However, on the admin site the list view shows list of "Seniority Objects" and "Staff Objects" instead of their respective names.

If I click edit, then it is shown correctly...

The venv is in Python 3.5, django 1.9 with CMS 3.4. I really don't know what is causing this issue. :(

I would really like to know how to pass the correct full_name value to the admin site list view. THANKS!

leety commented 7 years ago

I got the issue resolved. It's a python 3 problem. I changed the unicode to str and viola! The funny was that I forgot to completely terminate the server process, therefore changes to my file (including changes to urls.py) were not loaded at all. I wasted 2 hours on this..