https://github.com/pmaigutyak/mp-faq
Simple FAQ app for Django
https://github.com/pmaigutyak/mp-faq
django faq
Last synced: about 2 months ago
JSON representation
Simple FAQ app for Django
- Host: GitHub
- URL: https://github.com/pmaigutyak/mp-faq
- Owner: pmaigutyak
- License: isc
- Created: 2017-06-10T13:44:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-07T19:14:59.000Z (almost 4 years ago)
- Last Synced: 2025-09-21T21:05:05.476Z (9 months ago)
- Topics: django, faq
- Language: Python
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MP-FAQ application
### Installation
Install with pip:
```
$ pip install django-mp-faq
```
Add faq to settings.py:
```
INSTALLED_APPS = [
...
'ordered_model',
'modeltranslation',
'faq',
]
```
Sync DB:
```
$ python manage.py migrate
$ python manage.py sync_translation_fields
```
## Template
```
{% load faq %}
{% get_faq_questions as faq_questions %}
{% for question in faq_questions %}
{{ question.question }}
{{ question.answer|safe }}
{% endfor %}
```
### Requirements
App require this packages:
* django-modeltranslation
* django-ordered-model