On Thursday, April 23, 2015 at 6:59:58 PM UTC+2, Federico Capoano wrote:
>
> 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'
>
>
This should definitely work on master/1.8: 
https://github.com/django/django/blob/master/django/db/models/options.py#L294 
-- seems like you are on 1.7 or something.

cheers,
florian

-- 
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/56f5108e-00f7-4a4b-ae0f-810db1cebbec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to