cls._meta.add_field(self, virtual=True) gives:
File "/var/www/django-hstore/django_hstore/virtual.py", line 29, in contribute_to_class cls._meta.add_field(self, virtual=True) TypeError: Error when calling the metaclass bases add_field() got an unexpected keyword argument 'virtual' I remember that I already tried flagging the field as virtual, but the result was not what I wanted, that is a field that would also show up in the admin. There is an interesting ticket: *Provide real support for virtual fields* https://code.djangoproject.com/ticket/16508 Federico On Wednesday, April 22, 2015 at 9:54:39 AM UTC+2, Federico Capoano wrote: > > Hi Markus, > > thank you very much for your suggestion. I'll try it later this afternoon > and come back to report. > > Federico > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/33c7aa8d-a7a6-4746-9f49-a1f57f9e7969%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.