class test(models.Model):
version = models.CharField(max_length=255, choices=lazy(getGibthubTags, list)()) and a function getGibthubTags returning en amply array or an array of sets... Using: manage.py runserver I sometimes get: raise TypeError("Lazy object returned unexpected type.") TypeError: Lazy object returned unexpected type. why? regards Hinnack -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7c752f7f-87b5-4145-86e6-697949a89c3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.