django - Save keywords / meta title in Mezzanine -


I recently started compromising the mezzanine and I was trying to add 2 new areas in the blog post admin I - Keywords, and Meta Title

I've done this by editing my admin.py file and adding the following: Import from BlogPostAdmin to mezzanine.generic.models ([ "Keyword"]) Expand BlogPostAdmin.fieldsets [0] [1] ["Fields"] (["_ meta_title"]). Admin.site.register (keyword) admin.site.register (assigned word)

I look at fields in the blog post manager, but when I make them specific to blog posts , Then they don & # 39; t save that post. However, if I'm adding keywords, then the keywords are saved in the entire keyword ( generic_keyword table) keyword.

Is there a way to update blog posts _meta_title and keywords_string is updated in blog_blogpost ? Thanks for any help.

EDIT: After looking into this, it does not appear that I need to do anything to extend the "Meta Data" section. However, in my copy, it can not be expanded. Is there any special reason? The above answer is a bit incomplete, and will be confusing for whatever comes in the same problem

P>

My guess is that at some point you make a copy of the admin's base_site.html template in your project, from the old version of mezzanine. You have subsequently upgraded to a new version of Majenine, which refers to the advanced version of the selected version - you can see this work here 3 months ago where it happened:

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -