Closed bufke closed 9 years ago
I don't understand your question.
Do you intend to add support for this package or do you think it's a bug?
If you think it's a bug, write a failing test case for it first. If you intend to add support for the package you mentioned outline your idea.
I intent to add support but I'm unsure how to approach it. How robust should VirtualField be? Should we work to make 3rd party apps accept VirtualField as a fairly typical field? I determined it also fails with django-report-builder which introspects model fields. Or should I work on these other apps to explicitly support django-hstore's VirtualField.
Without much knowledge of all these codebases - I'd guess it would best to try getting VirtualField to work automatically with these 3rd party apps. If that proves difficult or impossible then the 3rd party apps will have to explicitly support django-store. Thoughts?
I think it is not possible to add support for every possible case right now. Work on the case you need right now.
On 11/28/2014 11:02 PM, David Burke wrote:
I intent to add support but I'm unsure how to approach it. How robust should VirtualField be? Should we work to make 3rd party apps accept VirtualField as a fairly typical field? I determined it also fails with django-report-builder which introspects model fields. Or should I work on these other apps to explicitly support django-hstore's VirtualField.
Without much knowledge of all these codebases - I'd guess it would best to try getting VirtualField to work automatically with these 3rd party apps. If that proves difficult or impossible then the 3rd party apps will have to explicitly support django-store. Thoughts?
— Reply to this email directly or view it on GitHub https://github.com/djangonauts/django-hstore/issues/86#issuecomment-64931075.
I made a repo showing the issue at https://github.com/bufke/autocomplete_hstore
When using autocomplete-light with schema mode I get AttributeError: 'VirtualField' object has no attribute 'fk_field'
If you remove the schema from here it will run fine.
I'm not sure if this should be a report for autocomplete instead. Let me know what you think. I'll try thinking of a fix too.