Skip to main content

A simple FAQ application for Django sites.

Project description

This is a simple FAQ application for a Django powered site, featuring:

  • The basic Q&A model you’d expect.

  • Question are grouped into topics.

  • Topics can be ordered and arranged, as can questions within topics.

  • Built-in views to drill down by topic and question, and individual question detail pages (for permalinks).

  • A view for users to submit new questions (with or without answers). These go into moderation queue and need to be marked “active” before they’ll show up on the site.

There’s an example app (distributed with the source) to try out if you’d like to get a taste of the app.

For more details, see the documentation

Requirements

Django 1.3+, Python 2.6+.

Installation

  1. pip install django-fack

  2. Add "fack" to your INSTALLED_APPS setting.

  3. Wire up the FAQ views by adding a line to your URLconf:

    url('^faq/', include('fack.urls'))

If you’d like to load some example data then run python manage.py loaddata faq_test_data.json

The app’s written with quite a bit of customization in mind; see the customization documentation for details.

Example Site

There is a stand-alone example site distributed with the source in the example/ directory. To try it out:

  1. Install django-Fack (see above).

  1. Run python manage.py syncdb

    This assumes that sqlite3 is available; if not you’ll need to change the DATABASES setting first.

  1. Load some example data by running python manage.py loaddata faq_test_data.json

  2. Run python manage.py runserver and you will have the example site up and running. The home page will have links to get to the available views as well as to the admin.

The capability to submit an FAQ is available and works whether or not you are a logged in user. Note that a staff member will have to use the admin and review any submitted FAQs and clean them up and set them to active before they are viewable by the end user views.

Contributing

To run the tests, install tox (pip install tox) then run tox.

Development takes place on GitHub. Bug reports, pataches, and pull requests are always welcome!

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

django-fack-1.1.tar.gz (21.4 kB view details)

Uploaded Source

File details

Details for the file django-fack-1.1.tar.gz.

File metadata

  • Download URL: django-fack-1.1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-fack-1.1.tar.gz
Algorithm Hash digest
SHA256 54894cae3bf8fa6fb6fb4c20b4f3e64375e603c7cdfccef8b6966c01e8477a7a
MD5 1ee2243813452a3a5f5dfbdbc0720a50
BLAKE2b-256 d83180fef37af4b50bcdf3347785094c1505d24c11ed032f3f03b7df1f8c25e1

See more details on using hashes here.

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