What if I don't want a new field, but want to update an existing field. For 
example, I want featured_image to be required ("blank" = False)

On Wednesday, October 7, 2015 at 10:39:00 AM UTC-4, Kenneth Bolton wrote:
>
> Hi Rich,
>
> Your instincts regarding future-proofing are good. Take a look at the Model 
> Customization 
> <https://www.google.com/url?q=https%3A%2F%2Fmezzanine.readthedocs.org%2Fen%2Flatest%2Fmodel-customization.html&sa=D&sntz=1&usg=AFQjCNFIgU2WfEgAKYX0-t7wdgMlpCeeTA>
>  section 
> of the docs.
>
> - ken
>
> On Wed, Oct 7, 2015 at 10:33 AM, Richard Jackson <[email protected] 
> <javascript:>> wrote:
>
>> Hi there,
>>
>> I was interested in making an addition to my own site's BlogPost class in 
>> mezzanine.blog.models.py (such as adding a new field called "foo"), and 
>> was wondering about the best way to do this. 
>>
>> I'm assuming that editing the models.py file directly isn't a good idea 
>> since this won't be future-proof for further Mezzanine updates/versions. Is 
>> there a way of essentially importing the BlogPost class, and then 'adding' 
>> to it?
>>
>> Thanks!
>>
>> Rich
>>
>> -- 
>> 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] <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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to