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 details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for aldryn-faq-0.12.3.tar.gz
Algorithm Hash digest
SHA256 52a7c25cd79a6265ec05249e1e8b5710aa302a0302897d11397cd3f32b359c76
MD5 e0fd8f1fe9cb4451eae9831b7b80a541
BLAKE2b-256 b63626ca16ce9b0cfb614536dc8daba4f30ee2c181f80be94328d86d6b865e2f

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