I'll try, thank you so much.

Il giorno domenica 10 settembre 2017 21:54:06 UTC+2, Rainell Dilou Gómez ha 
scritto:
>
> Hello,
> I am trying to create a content type extending Blog, the migration is 
> completed successfully but in the admin panel the content type does not 
> exist, it is not displayed in the select list of content types, nor 
> anywhere else. I don't know if it can be created as well as I have tried
>
> *models.py*
> from django.db import models
> from mezzanine.blog.models import BlogPost
> from django.utils.translation import ugettext_lazy as _
>
> class Recipe(BlogPost):
>    fields...
>
> *admin.py*
> from django.contrib import admin
> from mezzanine.pages.admin import PageAdmin
> from .models import Recipe
>
> admin.site.register(Recipe, PageAdmin)
>
> Can someone tell me if it is possible to do it this way, or give me some 
> suggestions? Thanks.
>
>
>

-- 
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