Yeah, I'm familiar with the process. I was only wondering if it is possible 
to register new model field without creating new app. However I decided to 
create one, customising only admin.py. Thanks for your answer.

W dniu wtorek, 18 sierpnia 2015 19:22:42 UTC+2 użytkownik Kenneth Bolton 
napisał:
>
> Hi Bartek,
>
> Take a look at how the Blog app's admin 
> <https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/blog/admin.py> 
> performs a deepcopy of DisplayableAdmin, then inserts and removes elements 
> from the list.
>
> hth!
>
> -ken
>
> On Tue, Aug 18, 2015 at 12:40 PM, Bartek Sielicki <[email protected] 
> <javascript:>> wrote:
>
>> Hello, I'm trying to add new field (CharField "color") to 
>> blog.models.BlogCategory
>> I'm doing it like this - 
>> http://mezzanine.jupo.org/docs/model-customization.html?highlight=myapp 
>> but I'm stuck when it comes to adding Admin Field. Where am I supposed to 
>> put admin.py, when I didn't create any custom app, and I probably won't 
>> have to? Is it necessary to create new app, just for registering new admin 
>> field?
>>
>> -- 
>> 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