samedi 20 septembre 2014

related name in Django abstract model using python 3


Vote count:

0




When I use %(app_label)s_%(class)s in related name using Python3.4 I got the following error



'app_label': cls._meta.app_label.lower()
TypeError: unsupported operand type(s) for %: 'bytes' and 'dict'


is there another way for that ?



asked 1 min ago







related name in Django abstract model using python 3

Aucun commentaire:

Enregistrer un commentaire