跳转到主要内容

未知

项目描述

安装

  1. 通过以下方式安装

    pip安装内容链接

  2. content_links 添加到 settings.py 中的 INSTALLED_APPS

    INSTALLED_APPS = (

    ‘awesome_app’,

    ‘content_links’,

    ‘django_stuff_etc’,

    )

  3. 在 models.py 中为FeinCMS注册应用程序

    from feincms.module.page.models import Page

    from content_links.models import ContentLink

    Page.create_content_type(ContentLink, TYPE_CHOICES=(

    (‘one’, ‘One’),

    (‘two’, ‘Two’), )

    )

  4. 运行以下命令同步数据库

    python manage.py syncdb –all

  5. 访问 管理面板 并享受乐趣!

由以下提供支持