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 Code Climate

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.3, you may need to add the following to your settings:

    MIGRATION_MODULES = {
        # ...
        'aldryn_faq': 'aldryn_faq.migrations_django',
        # ...
    },
  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.7.tar.gz (28.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for aldryn-faq-0.12.7.tar.gz
Algorithm Hash digest
SHA256 2e079840fa41b6d8d2bf2cf3c96aecd62da22edb3b1ca4b96b55eba7424eabfa
MD5 e6f945237bfbbc5a8802ba3a45e0d00c
BLAKE2b-256 387f425108f50d3904d368aeb8fcef6a4488d453d8b3dde8b7100897e7aabca2

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