Git Product home page Git Product logo

django-fack's Introduction

Django-Fack

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!

django-fack's People

Contributors

brosner avatar frankwiles avatar howiworkdaily avatar ipmb avatar jacobian avatar jezdez avatar mikek avatar montylounge avatar rockhoward avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.