Thanks.  So if the description field is defined in the parent class, where 
is that stored in database table?  How do I control it.  

Sorry for the n00b questions :)

On Wednesday, December 23, 2015 at 5:12:22 PM UTC-5, Rodrigo Gadea wrote:
>
>
>
> On Wed, Dec 23, 2015 at 5:08 PM, Joel Gwynn <joe...@gmail.com 
> <javascript:>> wrote:
>
>> I'm trying to make some of my models searchable, and one of them already 
>> has a field called "description", so I'm getting an error:
>>
>> django.core.exceptions.FieldError: Local field 'description' in class 
>> 'MyModel' clashes with field of similar name from base class 'Displayable'
>>
>> What's the right way to deal with this?
>>
>
> You should use another name for the field, like "model_desc", if you 
> change the field in Displayable many code may break...
>  
>
>>
>> TIA,
>> Joel
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to mezzanine-use...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to