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.
