Skip to main content

FAQ addon for django CMS

Project description

https://badge.fury.io/py/aldryn_faq.svg https://travis-ci.org/aldryn/aldryn-faq.svg https://coveralls.io/repos/aldryn/aldryn-faq/badge.svg

Aldryn FAQ

Description

Simple faq application. It allows you to:

  • write a questions and answers in categories

Installation & Usage

Aldryn Platform Users

  1. Choose a site you want to install the add-on to from the dashboard.

  2. Go to Apps -> Install App

  3. Click Install next to FAQ app.

  4. Redeploy the site.

Manual Installation

  1. Run pip install aldryn-faq.

  2. Add below apps to INSTALLED_APPS:

    INSTALLED_APPS = [
        …
        'aldryn_faq',
        'aldryn_reversion',
        'djangocms_text_ckeditor',
        'adminsortable2',
        'sortedm2m',
        'parler',
        …
    ]
  3. Configure aldryn-boilerplates (https://pypi.python.org/pypi/aldryn-boilerplates/).

    To use the old templates, set ALDRYN_BOILERPLATE_NAME='legacy'. To use https://github.com/aldryn/aldryn-boilerplate-standard (recommended, will be renamed to aldryn-boilerplate-bootstrap3) set ALDRYN_BOILERPLATE_NAME='bootstrap3'.

  4. Run migrations: python manage.py migrate aldryn_faq.

    NOTE: aldryn_faq supports both South and Django 1.7 migrations. However, if your project uses a version of South older than 1.0.2, you may need to add the following to your settings:

    MIGRATIONS_MODULES = [
        …
        'aldryn_faq': 'aldryn_faq.south_migrations',
        …
    ]
  5. (Re-)Start your application server.

Listing

You can add question/answer in the admin interface now. Search for the label Aldryn_Faq.

In order to display them, create a CMS page and install the app there (choose FAQ from the Advanced Settings -> Application dropdown).

Now redeploy/restart the site again.

The above CMS site has become a faq list view.

NOTES

django-admin-sortable2

This project uses django-admin-sortable2 version 0.5.0 or later. Installing an earlier version of django-admin-sortable2 will cause migrations to fail due to a package name clash with django-admin-sortable.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aldryn-faq-0.12.3.tar.gz (23.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page