mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
Merge pull request #370 from douglasmiranda/fix-typeerror
fix TypeError - the right way
This commit is contained in:
commit
eb768817f3
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class IndexAPIView(Admin2APIMixin, APIView):
|
|||
return {
|
||||
'app_label': app_label,
|
||||
'models': model_data,
|
||||
'app_verbose_name': unicode(self.app_verbose_names.get(app_label))
|
||||
'app_verbose_name': force_str(self.app_verbose_names.get(app_label))
|
||||
}
|
||||
|
||||
def get(self, request):
|
||||
|
|
|
|||
Loading…
Reference in a new issue