Also, now I'm getting the error django.core.exceptions.AppRegistryNotReady: 
Models aren't loaded yet.

On Wednesday, December 23, 2015 at 7:34:55 PM UTC-5, Joel Gwynn wrote:
>
> 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 <[email protected]> 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 [email protected].
>>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to