문제

I'm trying to allow Keywords to be edited sitewide, this is what i did try so far:

ADMIN_MENU_ORDER = (
     ("Content", ("pages.Page",   
                  "blog.BlogPost",
                  "generic.ThreadedComment",
                  "generic.Keyword",
                  ("Media Library", "fb_browse"),
     )),
     ("Users", ("auth.User",
                "auth.Group",
     )),
     ("Site", ("sites.Site",
               "redirects.Redirect",
               "conf.Setting",
     )),
 )

But there is just no "Keywords" section appearing where i could easily edit the Keywords i did set.

도움이 되었습니까?

해결책

Just create a Django admin class for the Keyword model and register it.

https://docs.djangoproject.com/en/1.6/ref/contrib/admin/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top