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.1.tar.gz (23.1 kB view details)

Uploaded Source

File details

Details for the file aldryn-faq-0.12.1.tar.gz.

File metadata

  • Download URL: aldryn-faq-0.12.1.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aldryn-faq-0.12.1.tar.gz
Algorithm Hash digest
SHA256 1a25db3133c4ab2c655c79f79aa90cbeeb275c6892919ab5d369109182e47dd1
MD5 e1aff8bb8303fcfbd969e43accb3eb58
BLAKE2b-256 bb249608bae64a4df43ded6589326a1e06e01670df0f259832ae492cb23e2d45

See more details on using hashes here.

Supported by

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