Re: virtual fields and the migration framework

2015-04-23 Thread Florian Apolloner
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 ca

Re: virtual fields and the migration framework

2015-04-23 Thread Federico Capoano
I think the correct syntax is: cls._meta.add_virtual_field(self) The problem is that if I use this syntax it seems that the admin ignores these fields, what happens is that the changes I make to the virtual fields are ignored. These are the test results related to the VirtualField implementati

Re: virtual fields and the migration framework

2015-04-23 Thread Federico Capoano
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 r

Re: Request for help: building a docker/vagrant platform for running Django's test suite

2015-04-23 Thread Florent Pastor
That's an interesting project, good luck and keep us posted :) On Wed, Apr 22, 2015 at 5:55 PM, Kevin Glavin wrote: > Thank you everyone for your interest. I spoke with Tim last night to start > piecing together the strategy. The gameplan on my end is to start a repo > that we can all work from

Re: Pass exception to error handlers

2015-04-23 Thread Florent Pastor
I agree with Tom On Wed, Apr 22, 2015 at 5:34 PM, Tom Evans wrote: > On Wed, Apr 22, 2015 at 3:05 PM, Tim Graham wrote: > > I have some concerns from a security standpoint. For example, some > exception > > messages are definitely not meant to be displayed to end users and may > leak > > server