ok-seo icon indicating copy to clipboard operation
ok-seo copied to clipboard

implement modelInstance

Open zodman opened this issue 1 year ago • 1 comments

before of all!

Thanks for this minimalistic SEO implementation, its the better in djangopackage.com

Here my problem, I have implemented the SEO but without extend the model, only adding the modelinstane to the admin in this case for the flatpages of django:

admin.site.unregister(FlatPage)
class AdminFlatPage(FlatPageAdmin):
    inlines = [ModelInstanceSeoInline]                                                                                                                  
admin.site.register(FlatPage, AdminFlatPage)
                                                   

The templatetag didn't work because the flatpages isn't extend from seomixing then i have implement the templatetag search fist the content type if exist and get it render the SEO.

testing is included.

zodman avatar Oct 08 '22 03:10 zodman