Simple Django FAQ app
Project description
# 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
### 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
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-mp-faq-1.3.tar.gz
(4.9 kB
view details)
File details
Details for the file django-mp-faq-1.3.tar.gz
.
File metadata
- Download URL: django-mp-faq-1.3.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69f7b851fc8c8f4c0857d062055830ccf0ce0b64239d9e990a5ee0efa34608c0 |
|
MD5 | 061cc9df568213412b04bf74eafecf88 |
|
BLAKE2b-256 | 2db1a94522b679c24fc3a72c5eec2298b5dfc574e69dce5501e9b11dad4a4ecd |